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