[−][src]Trait rustc_mir::interpret::snapshot::Snapshot
🔬 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?
Taking a snapshot of the evaluation context produces a view of
the state of the interpreter that is invariant to AllocId
s.
Associated Types
type Item
🔬 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?
Required Methods
fn snapshot(&self, ctx: &'a Ctx) -> Self::Item
🔬 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?
Implementations on Foreign Types
impl<'a, Ctx, T> Snapshot<'a, Ctx> for Option<T> where
Ctx: SnapshotContext<'a>,
T: Snapshot<'a, Ctx>,
[src]
impl<'a, Ctx, T> Snapshot<'a, Ctx> for Option<T> where
Ctx: SnapshotContext<'a>,
T: Snapshot<'a, Ctx>,
type Item = Option<<T as Snapshot<'a, Ctx>>::Item>
🔬 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?
fn snapshot(&self, ctx: &'a Ctx) -> Self::Item
[src]
fn snapshot(&self, ctx: &'a Ctx) -> Self::Item
🔬 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<'a, Ctx> Snapshot<'a, Ctx> for AllocId where
Ctx: SnapshotContext<'a>,
[src]
impl<'a, Ctx> Snapshot<'a, Ctx> for AllocId where
Ctx: SnapshotContext<'a>,
type Item = AllocIdSnapshot<'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?
fn snapshot(&self, ctx: &'a Ctx) -> Self::Item
[src]
fn snapshot(&self, ctx: &'a Ctx) -> Self::Item
🔬 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<'a, Ctx> Snapshot<'a, Ctx> for Pointer where
Ctx: SnapshotContext<'a>,
[src]
impl<'a, Ctx> Snapshot<'a, Ctx> for Pointer where
Ctx: SnapshotContext<'a>,
type Item = Pointer<AllocIdSnapshot<'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?
fn snapshot(&self, __ctx: &'a Ctx) -> Self::Item
[src]
fn snapshot(&self, __ctx: &'a Ctx) -> Self::Item
🔬 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<'a, Ctx> Snapshot<'a, Ctx> for Scalar where
Ctx: SnapshotContext<'a>,
[src]
impl<'a, Ctx> Snapshot<'a, Ctx> for Scalar where
Ctx: SnapshotContext<'a>,
type Item = Scalar<AllocIdSnapshot<'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?
fn snapshot(&self, ctx: &'a Ctx) -> Self::Item
[src]
fn snapshot(&self, ctx: &'a Ctx) -> Self::Item
🔬 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<'a, Ctx> Snapshot<'a, Ctx> for ScalarMaybeUndef where
Ctx: SnapshotContext<'a>,
[src]
impl<'a, Ctx> Snapshot<'a, Ctx> for ScalarMaybeUndef where
Ctx: SnapshotContext<'a>,
type Item = ScalarMaybeUndef<AllocIdSnapshot<'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?
fn snapshot(&self, __ctx: &'a Ctx) -> Self::Item
[src]
fn snapshot(&self, __ctx: &'a Ctx) -> Self::Item
🔬 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<'a, Ctx> Snapshot<'a, Ctx> for Relocations where
Ctx: SnapshotContext<'a>,
[src]
impl<'a, Ctx> Snapshot<'a, Ctx> for Relocations where
Ctx: SnapshotContext<'a>,
type Item = Relocations<AllocIdSnapshot<'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?
fn snapshot(&self, ctx: &'a Ctx) -> Self::Item
[src]
fn snapshot(&self, ctx: &'a Ctx) -> Self::Item
🔬 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<'a, Ctx> Snapshot<'a, Ctx> for &'a Allocation where
Ctx: SnapshotContext<'a>,
[src]
impl<'a, Ctx> Snapshot<'a, Ctx> for &'a Allocation where
Ctx: SnapshotContext<'a>,
type Item = AllocationSnapshot<'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?
fn snapshot(&self, ctx: &'a Ctx) -> Self::Item
[src]
fn snapshot(&self, ctx: &'a Ctx) -> Self::Item
🔬 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?
Implementors
impl<'a, 'mir, 'tcx, Ctx> Snapshot<'a, Ctx> for &'a Frame<'mir, 'tcx> where
Ctx: SnapshotContext<'a>,
[src]
impl<'a, 'mir, 'tcx, Ctx> Snapshot<'a, Ctx> for &'a Frame<'mir, 'tcx> where
Ctx: SnapshotContext<'a>,
type Item = FrameSnapshot<'a, '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?
fn snapshot(&self, ctx: &'a Ctx) -> Self::Item
[src]
fn snapshot(&self, ctx: &'a Ctx) -> Self::Item
🔬 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<'a, Ctx> Snapshot<'a, Ctx> for LocalValue where
Ctx: SnapshotContext<'a>,
[src]
impl<'a, Ctx> Snapshot<'a, Ctx> for LocalValue where
Ctx: SnapshotContext<'a>,
type Item = LocalValue<AllocIdSnapshot<'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?
fn snapshot(&self, __ctx: &'a Ctx) -> Self::Item
[src]
fn snapshot(&self, __ctx: &'a Ctx) -> Self::Item
🔬 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<'a, Ctx> Snapshot<'a, Ctx> for Operand where
Ctx: SnapshotContext<'a>,
[src]
impl<'a, Ctx> Snapshot<'a, Ctx> for Operand where
Ctx: SnapshotContext<'a>,
type Item = Operand<AllocIdSnapshot<'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?
fn snapshot(&self, __ctx: &'a Ctx) -> Self::Item
[src]
fn snapshot(&self, __ctx: &'a Ctx) -> Self::Item
🔬 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<'a, Ctx> Snapshot<'a, Ctx> for Place where
Ctx: SnapshotContext<'a>,
[src]
impl<'a, Ctx> Snapshot<'a, Ctx> for Place where
Ctx: SnapshotContext<'a>,
type Item = Place<AllocIdSnapshot<'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?
fn snapshot(&self, ctx: &'a Ctx) -> Self::Item
[src]
fn snapshot(&self, ctx: &'a Ctx) -> Self::Item
🔬 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<'a, Ctx> Snapshot<'a, Ctx> for Value where
Ctx: SnapshotContext<'a>,
[src]
impl<'a, Ctx> Snapshot<'a, Ctx> for Value where
Ctx: SnapshotContext<'a>,
type Item = Value<AllocIdSnapshot<'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?
fn snapshot(&self, __ctx: &'a Ctx) -> Self::Item
[src]
fn snapshot(&self, __ctx: &'a Ctx) -> Self::Item
🔬 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<'a, Ctx> Snapshot<'a, Ctx> for MemPlace where
Ctx: SnapshotContext<'a>,
[src]
impl<'a, Ctx> Snapshot<'a, Ctx> for MemPlace where
Ctx: SnapshotContext<'a>,
type Item = MemPlace<AllocIdSnapshot<'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?
fn snapshot(&self, __ctx: &'a Ctx) -> Self::Item
[src]
fn snapshot(&self, __ctx: &'a Ctx) -> Self::Item
🔬 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?