#[repr(C)]pub enum MemoryState {
Ok = 0,
OutOfMemory = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for MemoryState
impl Clone for MemoryState
Source§fn clone(&self) -> MemoryState
fn clone(&self) -> MemoryState
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 MemoryState
impl Debug for MemoryState
Source§impl From<MemoryState> for MemoryState_CEnum
impl From<MemoryState> for MemoryState_CEnum
Source§fn from(value: MemoryState) -> Self
fn from(value: MemoryState) -> Self
Converts to this type from the input type.
Source§impl Hash for MemoryState
impl Hash for MemoryState
Source§impl Ord for MemoryState
impl Ord for MemoryState
Source§fn cmp(&self, other: &MemoryState) -> Ordering
fn cmp(&self, other: &MemoryState) -> 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 MemoryState
impl PartialEq for MemoryState
Source§impl PartialOrd for MemoryState
impl PartialOrd for MemoryState
Source§impl TryFrom<MemoryState_CEnum> for MemoryState
impl TryFrom<MemoryState_CEnum> for MemoryState
impl Copy for MemoryState
impl Eq for MemoryState
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 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