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