pub enum MemoryDescriptorAlignment {
TwoBytes,
FourBytes,
EightBytes,
}Variants§
Implementations§
Source§impl MemoryDescriptorAlignment
impl MemoryDescriptorAlignment
pub const fn as_raw_flag(self) -> u64
Trait Implementations§
Source§impl Clone for MemoryDescriptorAlignment
impl Clone for MemoryDescriptorAlignment
Source§fn clone(&self) -> MemoryDescriptorAlignment
fn clone(&self) -> MemoryDescriptorAlignment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MemoryDescriptorAlignment
impl Debug for MemoryDescriptorAlignment
Source§impl Hash for MemoryDescriptorAlignment
impl Hash for MemoryDescriptorAlignment
Source§impl PartialEq for MemoryDescriptorAlignment
impl PartialEq for MemoryDescriptorAlignment
Source§fn eq(&self, other: &MemoryDescriptorAlignment) -> bool
fn eq(&self, other: &MemoryDescriptorAlignment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MemoryDescriptorAlignment
impl Eq for MemoryDescriptorAlignment
impl StructuralPartialEq for MemoryDescriptorAlignment
Auto Trait Implementations§
impl Freeze for MemoryDescriptorAlignment
impl RefUnwindSafe for MemoryDescriptorAlignment
impl Send for MemoryDescriptorAlignment
impl Sync for MemoryDescriptorAlignment
impl Unpin for MemoryDescriptorAlignment
impl UnsafeUnpin for MemoryDescriptorAlignment
impl UnwindSafe for MemoryDescriptorAlignment
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