#[repr(u8)]pub enum VbusvalidThresh {
VBUS_VLD_4P0 = 0,
VBUS_VLD_4P1 = 1,
VBUS_VLD_4P2 = 2,
VBUS_VLD_4P3 = 3,
VBUS_VLD_4P4 = 4,
VBUS_VLD_4P5 = 5,
VBUS_VLD_4P6 = 6,
VBUS_VLD_4P7 = 7,
}Variants§
VBUS_VLD_4P0 = 0
4.0 V
VBUS_VLD_4P1 = 1
4.1 V
VBUS_VLD_4P2 = 2
4.2 V
VBUS_VLD_4P3 = 3
4.3 V
VBUS_VLD_4P4 = 4
4.4 V
VBUS_VLD_4P5 = 5
4.5 V
VBUS_VLD_4P6 = 6
4.6 V
VBUS_VLD_4P7 = 7
4.7 V
Implementations§
Trait Implementations§
Source§impl Clone for VbusvalidThresh
impl Clone for VbusvalidThresh
Source§fn clone(&self) -> VbusvalidThresh
fn clone(&self) -> VbusvalidThresh
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 VbusvalidThresh
impl Debug for VbusvalidThresh
Source§impl From<VbusvalidThresh> for u8
impl From<VbusvalidThresh> for u8
Source§fn from(val: VbusvalidThresh) -> u8
fn from(val: VbusvalidThresh) -> u8
Converts to this type from the input type.
Source§impl From<u8> for VbusvalidThresh
impl From<u8> for VbusvalidThresh
Source§fn from(val: u8) -> VbusvalidThresh
fn from(val: u8) -> VbusvalidThresh
Converts to this type from the input type.
Source§impl Ord for VbusvalidThresh
impl Ord for VbusvalidThresh
Source§fn cmp(&self, other: &VbusvalidThresh) -> Ordering
fn cmp(&self, other: &VbusvalidThresh) -> 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 VbusvalidThresh
impl PartialEq for VbusvalidThresh
Source§impl PartialOrd for VbusvalidThresh
impl PartialOrd for VbusvalidThresh
impl Copy for VbusvalidThresh
impl Eq for VbusvalidThresh
impl StructuralPartialEq for VbusvalidThresh
Auto Trait Implementations§
impl Freeze for VbusvalidThresh
impl RefUnwindSafe for VbusvalidThresh
impl Send for VbusvalidThresh
impl Sync for VbusvalidThresh
impl Unpin for VbusvalidThresh
impl UnwindSafe for VbusvalidThresh
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