#[repr(u8)]pub enum SelfBoostMode {
SELF_BOOST_MODE_0 = 0,
SELF_BOOST_MODE_1 = 1,
}Variants§
Implementations§
Source§impl SelfBoostMode
impl SelfBoostMode
Trait Implementations§
Source§impl Clone for SelfBoostMode
impl Clone for SelfBoostMode
Source§fn clone(&self) -> SelfBoostMode
fn clone(&self) -> SelfBoostMode
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 SelfBoostMode
impl Debug for SelfBoostMode
Source§impl From<SelfBoostMode> for u8
impl From<SelfBoostMode> for u8
Source§fn from(val: SelfBoostMode) -> u8
fn from(val: SelfBoostMode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SelfBoostMode
impl From<u8> for SelfBoostMode
Source§fn from(val: u8) -> SelfBoostMode
fn from(val: u8) -> SelfBoostMode
Converts to this type from the input type.
Source§impl Ord for SelfBoostMode
impl Ord for SelfBoostMode
Source§fn cmp(&self, other: &SelfBoostMode) -> Ordering
fn cmp(&self, other: &SelfBoostMode) -> 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 SelfBoostMode
impl PartialEq for SelfBoostMode
Source§impl PartialOrd for SelfBoostMode
impl PartialOrd for SelfBoostMode
impl Copy for SelfBoostMode
impl Eq for SelfBoostMode
impl StructuralPartialEq for SelfBoostMode
Auto Trait Implementations§
impl Freeze for SelfBoostMode
impl RefUnwindSafe for SelfBoostMode
impl Send for SelfBoostMode
impl Sync for SelfBoostMode
impl Unpin for SelfBoostMode
impl UnwindSafe for SelfBoostMode
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