pub enum AllocatorMode {
DeterministicV1,
AggressiveV1,
}Variants§
Trait Implementations§
Source§impl Clone for AllocatorMode
impl Clone for AllocatorMode
Source§fn clone(&self) -> AllocatorMode
fn clone(&self) -> AllocatorMode
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 AllocatorMode
impl Debug for AllocatorMode
Source§impl Default for AllocatorMode
impl Default for AllocatorMode
Source§fn default() -> AllocatorMode
fn default() -> AllocatorMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AllocatorMode
impl<'de> Deserialize<'de> for AllocatorMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AllocatorMode
Source§impl PartialEq for AllocatorMode
impl PartialEq for AllocatorMode
Source§fn eq(&self, other: &AllocatorMode) -> bool
fn eq(&self, other: &AllocatorMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AllocatorMode
impl Serialize for AllocatorMode
impl StructuralPartialEq for AllocatorMode
Auto Trait Implementations§
impl Freeze for AllocatorMode
impl RefUnwindSafe for AllocatorMode
impl Send for AllocatorMode
impl Sync for AllocatorMode
impl Unpin for AllocatorMode
impl UnsafeUnpin for AllocatorMode
impl UnwindSafe for AllocatorMode
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