#[repr(u8)]pub enum CurSnsThrsh {
SELECT_ZERO = 0,
SELECT_ONE = 1,
SELECT_TWO = 2,
SELECT_THREE = 3,
SELECT_FOUR = 4,
SELECT_FIVE = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
SELECT_ZERO = 0
150 mA
SELECT_ONE = 1
250 mA
SELECT_TWO = 2
350 mA
SELECT_THREE = 3
450 mA
SELECT_FOUR = 4
550 mA
SELECT_FIVE = 5
650 mA
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Source§impl CurSnsThrsh
impl CurSnsThrsh
Trait Implementations§
Source§impl Clone for CurSnsThrsh
impl Clone for CurSnsThrsh
Source§fn clone(&self) -> CurSnsThrsh
fn clone(&self) -> CurSnsThrsh
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 CurSnsThrsh
impl Debug for CurSnsThrsh
Source§impl From<CurSnsThrsh> for u8
impl From<CurSnsThrsh> for u8
Source§fn from(val: CurSnsThrsh) -> u8
fn from(val: CurSnsThrsh) -> u8
Converts to this type from the input type.
Source§impl From<u8> for CurSnsThrsh
impl From<u8> for CurSnsThrsh
Source§fn from(val: u8) -> CurSnsThrsh
fn from(val: u8) -> CurSnsThrsh
Converts to this type from the input type.
Source§impl Ord for CurSnsThrsh
impl Ord for CurSnsThrsh
Source§fn cmp(&self, other: &CurSnsThrsh) -> Ordering
fn cmp(&self, other: &CurSnsThrsh) -> 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 CurSnsThrsh
impl PartialEq for CurSnsThrsh
Source§impl PartialOrd for CurSnsThrsh
impl PartialOrd for CurSnsThrsh
impl Copy for CurSnsThrsh
impl Eq for CurSnsThrsh
impl StructuralPartialEq for CurSnsThrsh
Auto Trait Implementations§
impl Freeze for CurSnsThrsh
impl RefUnwindSafe for CurSnsThrsh
impl Send for CurSnsThrsh
impl Sync for CurSnsThrsh
impl Unpin for CurSnsThrsh
impl UnwindSafe for CurSnsThrsh
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