pub enum MemoryAlignment {
U8,
U16,
U32,
U64,
}Variants§
Implementations§
Source§impl MemoryAlignment
impl MemoryAlignment
pub const fn greater_than(&self, other: MemoryAlignment) -> bool
Trait Implementations§
Source§impl Clone for MemoryAlignment
impl Clone for MemoryAlignment
Source§fn clone(&self) -> MemoryAlignment
fn clone(&self) -> MemoryAlignment
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 MemoryAlignment
impl Debug for MemoryAlignment
Source§impl Into<MemoryOffset> for MemoryAlignment
impl Into<MemoryOffset> for MemoryAlignment
Source§fn into(self) -> MemoryOffset
fn into(self) -> MemoryOffset
Converts this type into the (usually inferred) input type.
Source§impl Into<usize> for MemoryAlignment
impl Into<usize> for MemoryAlignment
impl Copy for MemoryAlignment
Auto Trait Implementations§
impl Freeze for MemoryAlignment
impl RefUnwindSafe for MemoryAlignment
impl Send for MemoryAlignment
impl Sync for MemoryAlignment
impl Unpin for MemoryAlignment
impl UnwindSafe for MemoryAlignment
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