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