#[repr(u8)]pub enum VbusOverrideEn {
VBUS_NO_OVERRIDE = 0,
VBUS_OVERRIDE = 1,
}Variants§
VBUS_NO_OVERRIDE = 0
Results of VBUS_VALID and session valid comparators for VBUS_VALID, AVALID, BVALID, and SESSEND
VBUS_OVERRIDE = 1
Override values for VBUS_VALID, AVALID, BVALID, and SESSEND
Implementations§
Trait Implementations§
Source§impl Clone for VbusOverrideEn
impl Clone for VbusOverrideEn
Source§fn clone(&self) -> VbusOverrideEn
fn clone(&self) -> VbusOverrideEn
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 VbusOverrideEn
impl Debug for VbusOverrideEn
Source§impl From<VbusOverrideEn> for u8
impl From<VbusOverrideEn> for u8
Source§fn from(val: VbusOverrideEn) -> u8
fn from(val: VbusOverrideEn) -> u8
Converts to this type from the input type.
Source§impl From<u8> for VbusOverrideEn
impl From<u8> for VbusOverrideEn
Source§fn from(val: u8) -> VbusOverrideEn
fn from(val: u8) -> VbusOverrideEn
Converts to this type from the input type.
Source§impl Ord for VbusOverrideEn
impl Ord for VbusOverrideEn
Source§fn cmp(&self, other: &VbusOverrideEn) -> Ordering
fn cmp(&self, other: &VbusOverrideEn) -> 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 VbusOverrideEn
impl PartialEq for VbusOverrideEn
Source§impl PartialOrd for VbusOverrideEn
impl PartialOrd for VbusOverrideEn
impl Copy for VbusOverrideEn
impl Eq for VbusOverrideEn
impl StructuralPartialEq for VbusOverrideEn
Auto Trait Implementations§
impl Freeze for VbusOverrideEn
impl RefUnwindSafe for VbusOverrideEn
impl Send for VbusOverrideEn
impl Sync for VbusOverrideEn
impl Unpin for VbusOverrideEn
impl UnwindSafe for VbusOverrideEn
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