#[repr(u8)]pub enum SelfBoostScale {
SELF_BOOST_SCALE_0 = 0,
SELF_BOOST_SCALE_1 = 1,
SELF_BOOST_SCALE_2 = 2,
SELF_BOOST_SCALE_3 = 3,
SELF_BOOST_SCALE_4 = 4,
SELF_BOOST_SCALE_5 = 5,
SELF_BOOST_SCALE_6 = 6,
SELF_BOOST_SCALE_7 = 7,
}Variants§
SELF_BOOST_SCALE_0 = 0
500 nA (default)
SELF_BOOST_SCALE_1 = 1
1 uA
SELF_BOOST_SCALE_2 = 2
1.5 uA
SELF_BOOST_SCALE_3 = 3
2 uA
SELF_BOOST_SCALE_4 = 4
2.5 uA
SELF_BOOST_SCALE_5 = 5
3 uA
SELF_BOOST_SCALE_6 = 6
3.5 uA
SELF_BOOST_SCALE_7 = 7
4 uA
Implementations§
Trait Implementations§
Source§impl Clone for SelfBoostScale
impl Clone for SelfBoostScale
Source§fn clone(&self) -> SelfBoostScale
fn clone(&self) -> SelfBoostScale
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 SelfBoostScale
impl Debug for SelfBoostScale
Source§impl From<SelfBoostScale> for u8
impl From<SelfBoostScale> for u8
Source§fn from(val: SelfBoostScale) -> u8
fn from(val: SelfBoostScale) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SelfBoostScale
impl From<u8> for SelfBoostScale
Source§fn from(val: u8) -> SelfBoostScale
fn from(val: u8) -> SelfBoostScale
Converts to this type from the input type.
Source§impl Ord for SelfBoostScale
impl Ord for SelfBoostScale
Source§fn cmp(&self, other: &SelfBoostScale) -> Ordering
fn cmp(&self, other: &SelfBoostScale) -> 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 SelfBoostScale
impl PartialEq for SelfBoostScale
Source§impl PartialOrd for SelfBoostScale
impl PartialOrd for SelfBoostScale
impl Copy for SelfBoostScale
impl Eq for SelfBoostScale
impl StructuralPartialEq for SelfBoostScale
Auto Trait Implementations§
impl Freeze for SelfBoostScale
impl RefUnwindSafe for SelfBoostScale
impl Send for SelfBoostScale
impl Sync for SelfBoostScale
impl Unpin for SelfBoostScale
impl UnwindSafe for SelfBoostScale
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