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