#[repr(u8)]pub enum Reg3p0VbusSel {
USB_OTG2_VBUS = 0,
USB_OTG1_VBUS = 1,
}Variants§
Implementations§
Source§impl Reg3p0VbusSel
impl Reg3p0VbusSel
Trait Implementations§
Source§impl Clone for Reg3p0VbusSel
impl Clone for Reg3p0VbusSel
Source§fn clone(&self) -> Reg3p0VbusSel
fn clone(&self) -> Reg3p0VbusSel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Reg3p0VbusSel
impl Debug for Reg3p0VbusSel
Source§impl From<Reg3p0VbusSel> for u8
impl From<Reg3p0VbusSel> for u8
Source§fn from(val: Reg3p0VbusSel) -> u8
fn from(val: Reg3p0VbusSel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Reg3p0VbusSel
impl From<u8> for Reg3p0VbusSel
Source§fn from(val: u8) -> Reg3p0VbusSel
fn from(val: u8) -> Reg3p0VbusSel
Converts to this type from the input type.
Source§impl Ord for Reg3p0VbusSel
impl Ord for Reg3p0VbusSel
Source§fn cmp(&self, other: &Reg3p0VbusSel) -> Ordering
fn cmp(&self, other: &Reg3p0VbusSel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Reg3p0VbusSel
impl PartialEq for Reg3p0VbusSel
Source§impl PartialOrd for Reg3p0VbusSel
impl PartialOrd for Reg3p0VbusSel
impl Copy for Reg3p0VbusSel
impl Eq for Reg3p0VbusSel
impl StructuralPartialEq for Reg3p0VbusSel
Auto Trait Implementations§
impl Freeze for Reg3p0VbusSel
impl RefUnwindSafe for Reg3p0VbusSel
impl Send for Reg3p0VbusSel
impl Sync for Reg3p0VbusSel
impl Unpin for Reg3p0VbusSel
impl UnwindSafe for Reg3p0VbusSel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more