pub enum WordSize {
OneByte,
TwoBytes,
FourBytes,
EightBytes,
}Variants§
Implementations§
Trait Implementations§
impl Copy for WordSize
impl Eq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToMutAligned for Twhere
T: ?Sized,
impl<T> ToMutAligned for Twhere
T: ?Sized,
Source§fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
Create a type-checked aligned value from a value that is aligned.