#[repr(u8)]pub enum MPreCurrent {
CUR_1 = 0,
CUR_2 = 1,
CUR_3 = 2,
CUR_4 = 3,
CUR_5 = 4,
CUR_6 = 5,
CUR_7 = 6,
CUR_8 = 7,
}Variants§
CUR_1 = 0
1 uA
CUR_2 = 1
2 uA
CUR_3 = 2
3 uA
CUR_4 = 3
4 uA
CUR_5 = 4
5 uA
CUR_6 = 5
6 uA
CUR_7 = 6
7 uA
CUR_8 = 7
8 uA
Implementations§
Source§impl MPreCurrent
impl MPreCurrent
Trait Implementations§
Source§impl Clone for MPreCurrent
impl Clone for MPreCurrent
Source§fn clone(&self) -> MPreCurrent
fn clone(&self) -> MPreCurrent
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 MPreCurrent
impl Debug for MPreCurrent
Source§impl From<MPreCurrent> for u8
impl From<MPreCurrent> for u8
Source§fn from(val: MPreCurrent) -> u8
fn from(val: MPreCurrent) -> u8
Converts to this type from the input type.
Source§impl From<u8> for MPreCurrent
impl From<u8> for MPreCurrent
Source§fn from(val: u8) -> MPreCurrent
fn from(val: u8) -> MPreCurrent
Converts to this type from the input type.
Source§impl Ord for MPreCurrent
impl Ord for MPreCurrent
Source§fn cmp(&self, other: &MPreCurrent) -> Ordering
fn cmp(&self, other: &MPreCurrent) -> 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 MPreCurrent
impl PartialEq for MPreCurrent
Source§impl PartialOrd for MPreCurrent
impl PartialOrd for MPreCurrent
impl Copy for MPreCurrent
impl Eq for MPreCurrent
impl StructuralPartialEq for MPreCurrent
Auto Trait Implementations§
impl Freeze for MPreCurrent
impl RefUnwindSafe for MPreCurrent
impl Send for MPreCurrent
impl Sync for MPreCurrent
impl Unpin for MPreCurrent
impl UnwindSafe for MPreCurrent
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