Enum Wordsize
#[repr(u8)]pub enum Wordsize {
Byte = 0,
HalfWord = 1,
Word = 2,
DoubleWord = 3,
}Variants§
Byte = 0
Byte (8-bit)
HalfWord = 1
HalfWord (16-bit)
Word = 2
Word (32-bit)
DoubleWord = 3
DoubleWord (64-bit)
Implementations§
Trait Implementations§
impl Copy for Wordsize
impl Eq for Wordsize
§impl Ord for Wordsize
impl Ord for Wordsize
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 PartialOrd for Wordsize
impl PartialOrd for Wordsize
impl StructuralPartialEq for Wordsize
Auto Trait Implementations§
impl Freeze for Wordsize
impl RefUnwindSafe for Wordsize
impl Send for Wordsize
impl Sync for Wordsize
impl Unpin for Wordsize
impl UnsafeUnpin for Wordsize
impl UnwindSafe for Wordsize
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