#[repr(u8)]pub enum Cc1SnkStat {
VRa = 0,
VRdUsb = 1,
VRd15 = 2,
VRd30 = 3,
}Variants§
VRa = 0
CC1 detects vRa
VRdUsb = 1
CC1 detects vRd-USB
VRd15 = 2
CC1 detects vRd-1.5
VRd30 = 3
CC1 detects vRd-3.0
Trait Implementations§
Source§impl Clone for Cc1SnkStat
impl Clone for Cc1SnkStat
Source§fn clone(&self) -> Cc1SnkStat
fn clone(&self) -> Cc1SnkStat
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 Cc1SnkStat
impl Debug for Cc1SnkStat
Source§impl From<Cc1SnkStat> for u8
impl From<Cc1SnkStat> for u8
Source§fn from(val: Cc1SnkStat) -> Self
fn from(val: Cc1SnkStat) -> Self
Converts to this type from the input type.
Source§impl Hash for Cc1SnkStat
impl Hash for Cc1SnkStat
Source§impl PartialEq for Cc1SnkStat
impl PartialEq for Cc1SnkStat
Source§impl TryFrom<u8> for Cc1SnkStat
impl TryFrom<u8> for Cc1SnkStat
impl Copy for Cc1SnkStat
impl Eq for Cc1SnkStat
impl StructuralPartialEq for Cc1SnkStat
Auto Trait Implementations§
impl Freeze for Cc1SnkStat
impl RefUnwindSafe for Cc1SnkStat
impl Send for Cc1SnkStat
impl Sync for Cc1SnkStat
impl Unpin for Cc1SnkStat
impl UnsafeUnpin for Cc1SnkStat
impl UnwindSafe for Cc1SnkStat
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