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