#[repr(u8)]pub enum Usb1VbusDetectClrVbusvalidThresh {
_4V0 = 0,
_4V1 = 1,
_4V2 = 2,
_4V3 = 3,
_4V4 = 4,
_4V5 = 5,
_4V6 = 6,
_4V7 = 7,
}Variants§
_4V0 = 0
4.0V
_4V1 = 1
4.1V
_4V2 = 2
4.2V
_4V3 = 3
4.3V
_4V4 = 4
4.4V (default)
_4V5 = 5
4.5V
_4V6 = 6
4.6V
_4V7 = 7
4.7V
Implementations§
Trait Implementations§
Source§impl Clone for Usb1VbusDetectClrVbusvalidThresh
impl Clone for Usb1VbusDetectClrVbusvalidThresh
Source§fn clone(&self) -> Usb1VbusDetectClrVbusvalidThresh
fn clone(&self) -> Usb1VbusDetectClrVbusvalidThresh
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<Usb1VbusDetectClrVbusvalidThresh> for u8
impl From<Usb1VbusDetectClrVbusvalidThresh> for u8
Source§fn from(val: Usb1VbusDetectClrVbusvalidThresh) -> u8
fn from(val: Usb1VbusDetectClrVbusvalidThresh) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Usb1VbusDetectClrVbusvalidThresh
impl From<u8> for Usb1VbusDetectClrVbusvalidThresh
Source§fn from(val: u8) -> Usb1VbusDetectClrVbusvalidThresh
fn from(val: u8) -> Usb1VbusDetectClrVbusvalidThresh
Converts to this type from the input type.
Source§impl Ord for Usb1VbusDetectClrVbusvalidThresh
impl Ord for Usb1VbusDetectClrVbusvalidThresh
Source§fn cmp(&self, other: &Usb1VbusDetectClrVbusvalidThresh) -> Ordering
fn cmp(&self, other: &Usb1VbusDetectClrVbusvalidThresh) -> 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 Usb1VbusDetectClrVbusvalidThresh
impl PartialEq for Usb1VbusDetectClrVbusvalidThresh
Source§fn eq(&self, other: &Usb1VbusDetectClrVbusvalidThresh) -> bool
fn eq(&self, other: &Usb1VbusDetectClrVbusvalidThresh) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Usb1VbusDetectClrVbusvalidThresh
impl PartialOrd for Usb1VbusDetectClrVbusvalidThresh
impl Copy for Usb1VbusDetectClrVbusvalidThresh
impl Eq for Usb1VbusDetectClrVbusvalidThresh
impl StructuralPartialEq for Usb1VbusDetectClrVbusvalidThresh
Auto Trait Implementations§
impl Freeze for Usb1VbusDetectClrVbusvalidThresh
impl RefUnwindSafe for Usb1VbusDetectClrVbusvalidThresh
impl Send for Usb1VbusDetectClrVbusvalidThresh
impl Sync for Usb1VbusDetectClrVbusvalidThresh
impl Unpin for Usb1VbusDetectClrVbusvalidThresh
impl UnwindSafe for Usb1VbusDetectClrVbusvalidThresh
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