pub enum MemoryAlignment {
U8,
U16,
U32,
U64,
}Variants§
Implementations§
Source§impl MemoryAlignment
impl MemoryAlignment
pub const fn greater_than(&self, other: Self) -> bool
Trait Implementations§
Source§impl Clone for MemoryAlignment
impl Clone for MemoryAlignment
Source§fn clone(&self) -> MemoryAlignment
fn clone(&self) -> MemoryAlignment
Returns a duplicate 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 From<MemoryAlignment> for MemoryOffset
impl From<MemoryAlignment> for MemoryOffset
Source§fn from(val: MemoryAlignment) -> Self
fn from(val: MemoryAlignment) -> Self
Converts to this type from the input type.
Source§impl From<MemoryAlignment> for u8
impl From<MemoryAlignment> for u8
Source§fn from(val: MemoryAlignment) -> Self
fn from(val: MemoryAlignment) -> Self
Converts to this type from the input type.
Source§impl From<MemoryAlignment> for usize
impl From<MemoryAlignment> for usize
Source§fn from(val: MemoryAlignment) -> Self
fn from(val: MemoryAlignment) -> Self
Converts to this type from the input type.
Source§impl Hash for MemoryAlignment
impl Hash for MemoryAlignment
Source§impl Ord for MemoryAlignment
impl Ord for MemoryAlignment
Source§fn cmp(&self, other: &MemoryAlignment) -> Ordering
fn cmp(&self, other: &MemoryAlignment) -> 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 MemoryAlignment
impl PartialEq for MemoryAlignment
Source§impl PartialOrd for MemoryAlignment
impl PartialOrd for MemoryAlignment
Source§impl TryInto<MemoryAlignment> for usize
impl TryInto<MemoryAlignment> for usize
impl Copy for MemoryAlignment
impl Eq for MemoryAlignment
impl StructuralPartialEq 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