Enum rustc::mir::interpret::AllocType [−][src]
🔬 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
Function(Instance<'tcx>)🔬 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?
The alloc id is used as a function pointer
Static(DefId)🔬 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?
The alloc id points to a static variable
Memory(M)🔬 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?
The alloc id points to memory
Trait Implementations
impl<'a, 'gcx, M: HashStable<StableHashingContext<'a>>> HashStable<StableHashingContext<'a>> for AllocType<'gcx, M>[src]
impl<'a, 'gcx, M: HashStable<StableHashingContext<'a>>> HashStable<StableHashingContext<'a>> for AllocType<'gcx, M>fn hash_stable<W: StableHasherResult>(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher<W>
)[src]
fn hash_stable<W: StableHasherResult>(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher<W>
)🔬 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?
impl<'tcx, M: Debug> Debug for AllocType<'tcx, M>[src]
impl<'tcx, M: Debug> Debug for AllocType<'tcx, M>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'tcx, M: Clone> Clone for AllocType<'tcx, M>[src]
impl<'tcx, M: Clone> Clone for AllocType<'tcx, M>fn clone(&self) -> AllocType<'tcx, M>[src]
fn clone(&self) -> AllocType<'tcx, M>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
impl<'tcx, M: Eq> Eq for AllocType<'tcx, M>[src]
impl<'tcx, M: Eq> Eq for AllocType<'tcx, M>fn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl<'tcx, M: PartialEq> PartialEq for AllocType<'tcx, M>[src]
impl<'tcx, M: PartialEq> PartialEq for AllocType<'tcx, M>fn eq(&self, other: &AllocType<'tcx, M>) -> bool[src]
fn eq(&self, other: &AllocType<'tcx, M>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &AllocType<'tcx, M>) -> bool[src]
fn ne(&self, other: &AllocType<'tcx, M>) -> boolThis method tests for !=.
impl<'tcx, M: Hash> Hash for AllocType<'tcx, M>[src]
impl<'tcx, M: Hash> Hash for AllocType<'tcx, M>fn hash<__HM: Hasher>(&self, state: &mut __HM)[src]
fn hash<__HM: Hasher>(&self, state: &mut __HM)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl<'tcx, M: Decodable> Decodable for AllocType<'tcx, M>[src]
impl<'tcx, M: Decodable> Decodable for AllocType<'tcx, M>fn decode<__DM: Decoder>(
d: &mut __DM
) -> Result<AllocType<'tcx, M>, __DM::Error>[src]
fn decode<__DM: Decoder>(
d: &mut __DM
) -> Result<AllocType<'tcx, M>, __DM::Error>🔬 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?
impl<'tcx, M: Encodable> Encodable for AllocType<'tcx, M>[src]
impl<'tcx, M: Encodable> Encodable for AllocType<'tcx, M>