pub enum MemoryState {
Commit,
Reserve,
Free,
}Expand description
memory state
Variants§
Trait Implementations§
Source§impl Clone for MemoryState
impl Clone for MemoryState
Source§fn clone(&self) -> MemoryState
fn clone(&self) -> MemoryState
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 moreimpl Copy for MemoryState
Source§impl Debug for MemoryState
impl Debug for MemoryState
impl Eq for MemoryState
Source§impl PartialEq for MemoryState
impl PartialEq for MemoryState
Source§fn eq(&self, other: &MemoryState) -> bool
fn eq(&self, other: &MemoryState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MemoryState
Auto Trait Implementations§
impl Freeze for MemoryState
impl RefUnwindSafe for MemoryState
impl Send for MemoryState
impl Sync for MemoryState
impl Unpin for MemoryState
impl UnsafeUnpin for MemoryState
impl UnwindSafe for MemoryState
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