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