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