#[repr(u8)]pub enum Usb1VbusDetectClrVbusOverrideEn {
VALUE0 = 0,
VALUE1 = 1,
}Variants§
VALUE0 = 0
Use the results of the internal VBUS_VALID and Session Valid comparators for VBUS_VALID, AVALID, BVALID, and SESSEND (Default)
VALUE1 = 1
Use the override values for VBUS_VALID, AVALID, BVALID, and SESSEND
Implementations§
Trait Implementations§
Source§impl Clone for Usb1VbusDetectClrVbusOverrideEn
impl Clone for Usb1VbusDetectClrVbusOverrideEn
Source§fn clone(&self) -> Usb1VbusDetectClrVbusOverrideEn
fn clone(&self) -> Usb1VbusDetectClrVbusOverrideEn
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 From<Usb1VbusDetectClrVbusOverrideEn> for u8
impl From<Usb1VbusDetectClrVbusOverrideEn> for u8
Source§fn from(val: Usb1VbusDetectClrVbusOverrideEn) -> u8
fn from(val: Usb1VbusDetectClrVbusOverrideEn) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Usb1VbusDetectClrVbusOverrideEn
impl From<u8> for Usb1VbusDetectClrVbusOverrideEn
Source§fn from(val: u8) -> Usb1VbusDetectClrVbusOverrideEn
fn from(val: u8) -> Usb1VbusDetectClrVbusOverrideEn
Converts to this type from the input type.
Source§impl Ord for Usb1VbusDetectClrVbusOverrideEn
impl Ord for Usb1VbusDetectClrVbusOverrideEn
Source§fn cmp(&self, other: &Usb1VbusDetectClrVbusOverrideEn) -> Ordering
fn cmp(&self, other: &Usb1VbusDetectClrVbusOverrideEn) -> 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 Usb1VbusDetectClrVbusOverrideEn
impl PartialEq for Usb1VbusDetectClrVbusOverrideEn
Source§fn eq(&self, other: &Usb1VbusDetectClrVbusOverrideEn) -> bool
fn eq(&self, other: &Usb1VbusDetectClrVbusOverrideEn) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Usb1VbusDetectClrVbusOverrideEn
impl PartialOrd for Usb1VbusDetectClrVbusOverrideEn
impl Copy for Usb1VbusDetectClrVbusOverrideEn
impl Eq for Usb1VbusDetectClrVbusOverrideEn
impl StructuralPartialEq for Usb1VbusDetectClrVbusOverrideEn
Auto Trait Implementations§
impl Freeze for Usb1VbusDetectClrVbusOverrideEn
impl RefUnwindSafe for Usb1VbusDetectClrVbusOverrideEn
impl Send for Usb1VbusDetectClrVbusOverrideEn
impl Sync for Usb1VbusDetectClrVbusOverrideEn
impl Unpin for Usb1VbusDetectClrVbusOverrideEn
impl UnwindSafe for Usb1VbusDetectClrVbusOverrideEn
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