Struct rustc::mir::interpret::AllocId [−][src]
pub struct AllocId(pub u64);
🔬 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?
Trait Implementations
impl<'a> HashStable<StableHashingContext<'a>> for AllocId[src]
impl<'a> HashStable<StableHashingContext<'a>> for AllocIdfn 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 Copy for AllocId[src]
impl Copy for AllocIdimpl Clone for AllocId[src]
impl Clone for AllocIdfn clone(&self) -> AllocId[src]
fn clone(&self) -> AllocIdReturns 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 Default for AllocId[src]
impl Default for AllocIdimpl Eq for AllocId[src]
impl Eq for AllocIdfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl Hash for AllocId[src]
impl Hash for AllocIdfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)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 Ord for AllocId[src]
impl Ord for AllocIdfn cmp(&self, other: &AllocId) -> Ordering[src]
fn cmp(&self, other: &AllocId) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl PartialEq for AllocId[src]
impl PartialEq for AllocIdfn eq(&self, other: &AllocId) -> bool[src]
fn eq(&self, other: &AllocId) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &AllocId) -> bool[src]
fn ne(&self, other: &AllocId) -> boolThis method tests for !=.
impl PartialOrd for AllocId[src]
impl PartialOrd for AllocIdfn partial_cmp(&self, other: &AllocId) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &AllocId) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &AllocId) -> bool[src]
fn lt(&self, other: &AllocId) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &AllocId) -> bool[src]
fn le(&self, other: &AllocId) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &AllocId) -> bool[src]
fn gt(&self, other: &AllocId) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &AllocId) -> bool[src]
fn ge(&self, other: &AllocId) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Debug for AllocId[src]
impl Debug for AllocIdfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl UseSpecializedEncodable for AllocId[src]
impl UseSpecializedEncodable for AllocIdfn default_encode<E>(&self, &mut E) -> Result<(), <E as Encoder>::Error> where
E: Encoder, [src]
fn default_encode<E>(&self, &mut E) -> Result<(), <E as Encoder>::Error> where
E: Encoder, 🔬 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?
Defaults to returning an error (see SpecializationError).
impl UseSpecializedDecodable for AllocId[src]
impl UseSpecializedDecodable for AllocIdfn default_decode<D>(&mut D) -> Result<Self, <D as Decoder>::Error> where
D: Decoder, [src]
fn default_decode<D>(&mut D) -> Result<Self, <D as Decoder>::Error> where
D: Decoder, 🔬 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?
Defaults to returning an error (see SpecializationError).
impl Display for AllocId[src]
impl Display for AllocIdfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a, 'tcx, 'x> SpecializedDecoder<AllocId> for CacheDecoder<'a, 'tcx, 'x>[src]
impl<'a, 'tcx, 'x> SpecializedDecoder<AllocId> for CacheDecoder<'a, 'tcx, 'x>fn specialized_decode(&mut self) -> Result<AllocId, Self::Error>[src]
fn specialized_decode(&mut self) -> Result<AllocId, Self::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?
Decode a value in a manner specific to this decoder state.
impl<'enc, 'a, 'tcx, E> SpecializedEncoder<AllocId> for CacheEncoder<'enc, 'a, 'tcx, E> where
E: 'enc + TyEncoder, [src]
impl<'enc, 'a, 'tcx, E> SpecializedEncoder<AllocId> for CacheEncoder<'enc, 'a, 'tcx, E> where
E: 'enc + TyEncoder, fn specialized_encode(&mut self, alloc_id: &AllocId) -> Result<(), Self::Error>[src]
fn specialized_encode(&mut self, alloc_id: &AllocId) -> Result<(), Self::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?
Encode the value in a manner specific to this encoder state.