pub enum AllocationKind {
Value,
Scratch {
node_id: NodeId,
},
Binding {
node_id: NodeId,
},
Persistent {
node_id: NodeId,
},
}Variants§
Trait Implementations§
Source§impl Clone for AllocationKind
impl Clone for AllocationKind
Source§fn clone(&self) -> AllocationKind
fn clone(&self) -> AllocationKind
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 AllocationKind
impl Debug for AllocationKind
Source§impl<'de> Deserialize<'de> for AllocationKind
impl<'de> Deserialize<'de> for AllocationKind
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 AllocationKind
Source§impl PartialEq for AllocationKind
impl PartialEq for AllocationKind
Source§impl Serialize for AllocationKind
impl Serialize for AllocationKind
impl StructuralPartialEq for AllocationKind
Auto Trait Implementations§
impl Freeze for AllocationKind
impl RefUnwindSafe for AllocationKind
impl Send for AllocationKind
impl Sync for AllocationKind
impl Unpin for AllocationKind
impl UnsafeUnpin for AllocationKind
impl UnwindSafe for AllocationKind
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