Enum rustc_mir::interpret::MemoryKind [−][src]
pub enum MemoryKind<T> { Stack, Machine(T), }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Variants
Stack
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Error if deallocated except during a stack pop
Machine(T)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Additional memory kinds a machine wishes to distinguish from the builtin ones
Trait Implementations
impl<T: Debug> Debug for MemoryKind<T>
[src]
impl<T: Debug> Debug for MemoryKind<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: PartialEq> PartialEq for MemoryKind<T>
[src]
impl<T: PartialEq> PartialEq for MemoryKind<T>
fn eq(&self, other: &MemoryKind<T>) -> bool
[src]
fn eq(&self, other: &MemoryKind<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MemoryKind<T>) -> bool
[src]
fn ne(&self, other: &MemoryKind<T>) -> bool
This method tests for !=
.
impl<T: Copy> Copy for MemoryKind<T>
[src]
impl<T: Copy> Copy for MemoryKind<T>
impl<T: Clone> Clone for MemoryKind<T>
[src]
impl<T: Clone> Clone for MemoryKind<T>
fn clone(&self) -> MemoryKind<T>
[src]
fn clone(&self) -> MemoryKind<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<T> Send for MemoryKind<T> where
T: Send,
impl<T> Send for MemoryKind<T> where
T: Send,
impl<T> Sync for MemoryKind<T> where
T: Sync,
impl<T> Sync for MemoryKind<T> where
T: Sync,