Struct rustc::mir::interpret::AllocDecodingSession [−][src]
pub struct AllocDecodingSession<'s> { state: &'s AllocDecodingState, session_id: NonZeroU32, }
🔬 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?
Fields
state: &'s AllocDecodingState
🔬 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?
session_id: NonZeroU32
🔬 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?
Methods
impl<'s> AllocDecodingSession<'s>
[src]
impl<'s> AllocDecodingSession<'s>
pub fn decode_alloc_id<'a, 'tcx, D>(
&self,
decoder: &mut D
) -> Result<AllocId, D::Error> where
D: TyDecoder<'a, 'tcx>,
'tcx: 'a,
[src]
pub fn decode_alloc_id<'a, 'tcx, D>(
&self,
decoder: &mut D
) -> Result<AllocId, D::Error> where
D: TyDecoder<'a, 'tcx>,
'tcx: 'a,
🔬 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<'s> Copy for AllocDecodingSession<'s>
[src]
impl<'s> Copy for AllocDecodingSession<'s>
impl<'s> Clone for AllocDecodingSession<'s>
[src]
impl<'s> Clone for AllocDecodingSession<'s>
fn clone(&self) -> AllocDecodingSession<'s>
[src]
fn clone(&self) -> AllocDecodingSession<'s>
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<'s> !Send for AllocDecodingSession<'s>
impl<'s> !Send for AllocDecodingSession<'s>
impl<'s> !Sync for AllocDecodingSession<'s>
impl<'s> !Sync for AllocDecodingSession<'s>