#[repr(u8)]pub enum Reg3p0TogVbusSel {
USB_OTG2_VBUS = 0,
USB_OTG1_VBUS = 1,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Reg3p0TogVbusSel
impl Clone for Reg3p0TogVbusSel
Source§fn clone(&self) -> Reg3p0TogVbusSel
fn clone(&self) -> Reg3p0TogVbusSel
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 Reg3p0TogVbusSel
impl Debug for Reg3p0TogVbusSel
Source§impl From<Reg3p0TogVbusSel> for u8
impl From<Reg3p0TogVbusSel> for u8
Source§fn from(val: Reg3p0TogVbusSel) -> u8
fn from(val: Reg3p0TogVbusSel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Reg3p0TogVbusSel
impl From<u8> for Reg3p0TogVbusSel
Source§fn from(val: u8) -> Reg3p0TogVbusSel
fn from(val: u8) -> Reg3p0TogVbusSel
Converts to this type from the input type.
Source§impl Ord for Reg3p0TogVbusSel
impl Ord for Reg3p0TogVbusSel
Source§fn cmp(&self, other: &Reg3p0TogVbusSel) -> Ordering
fn cmp(&self, other: &Reg3p0TogVbusSel) -> 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 Reg3p0TogVbusSel
impl PartialEq for Reg3p0TogVbusSel
Source§impl PartialOrd for Reg3p0TogVbusSel
impl PartialOrd for Reg3p0TogVbusSel
impl Copy for Reg3p0TogVbusSel
impl Eq for Reg3p0TogVbusSel
impl StructuralPartialEq for Reg3p0TogVbusSel
Auto Trait Implementations§
impl Freeze for Reg3p0TogVbusSel
impl RefUnwindSafe for Reg3p0TogVbusSel
impl Send for Reg3p0TogVbusSel
impl Sync for Reg3p0TogVbusSel
impl Unpin for Reg3p0TogVbusSel
impl UnwindSafe for Reg3p0TogVbusSel
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