pub enum MemoryZone {
Dma = 0,
Normal = 1,
High = 2,
}Expand description
Memory zones for zone-aware allocation
Variants§
Trait Implementations§
Source§impl Clone for MemoryZone
impl Clone for MemoryZone
Source§fn clone(&self) -> MemoryZone
fn clone(&self) -> MemoryZone
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryZone
impl Debug for MemoryZone
Source§impl Ord for MemoryZone
impl Ord for MemoryZone
Source§impl PartialEq for MemoryZone
impl PartialEq for MemoryZone
Source§impl PartialOrd for MemoryZone
impl PartialOrd for MemoryZone
Source§fn partial_cmp(&self, other: &MemoryZone) -> Option<Ordering>
fn partial_cmp(&self, other: &MemoryZone) -> Option<Ordering>
impl Copy for MemoryZone
impl Eq for MemoryZone
impl StructuralPartialEq for MemoryZone
Auto Trait Implementations§
impl Freeze for MemoryZone
impl RefUnwindSafe for MemoryZone
impl Send for MemoryZone
impl Sync for MemoryZone
impl Unpin for MemoryZone
impl UnwindSafe for MemoryZone
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)