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