Enum Compdistune
#[repr(u8)]pub enum Compdistune {
_RESERVED_0 = 0,
ZeroPercent = 1,
Plus5_9percent = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
_RESERVED_0 = 0
ZeroPercent = 1
0% (default value)
Plus5_9percent = 2
+5.9% (recommended value)
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
§impl Compdistune
impl Compdistune
pub const fn from_bits(val: u8) -> Compdistune
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Compdistune
impl Clone for Compdistune
§fn clone(&self) -> Compdistune
fn clone(&self) -> Compdistune
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Compdistune
impl Eq for Compdistune
§impl From<Compdistune> for u8
impl From<Compdistune> for u8
§fn from(val: Compdistune) -> u8
fn from(val: Compdistune) -> u8
Converts to this type from the input type.
§impl From<u8> for Compdistune
impl From<u8> for Compdistune
§fn from(val: u8) -> Compdistune
fn from(val: u8) -> Compdistune
Converts to this type from the input type.
§impl Ord for Compdistune
impl Ord for Compdistune
§fn cmp(&self, other: &Compdistune) -> Ordering
fn cmp(&self, other: &Compdistune) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for Compdistune
impl PartialEq for Compdistune
§impl PartialOrd for Compdistune
impl PartialOrd for Compdistune
impl StructuralPartialEq for Compdistune
Auto Trait Implementations§
impl Freeze for Compdistune
impl RefUnwindSafe for Compdistune
impl Send for Compdistune
impl Sync for Compdistune
impl Unpin for Compdistune
impl UnsafeUnpin for Compdistune
impl UnwindSafe for Compdistune
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