Enum rustc_data_structures::snapshot_vec::UndoLog []

pub enum UndoLog<D> where
    D: SnapshotVecDelegate
{ OpenSnapshot, CommittedSnapshot, NewElem(usize), SetElem(usize, <D as SnapshotVecDelegate>::Value), Other(<D as SnapshotVecDelegate>::Undo), }
🔬 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

🔬 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?

Indicates where a snapshot started.

🔬 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?

Indicates a snapshot that has been committed.

🔬 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?

New variable with given index was created.

🔬 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?

Variable with given index was changed from the given value.

🔬 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?

Extensible set of actions

Trait Implementations

impl<D> Clone for UndoLog<D> where
    D: SnapshotVecDelegate,
    <D as SnapshotVecDelegate>::Value: Clone,
    <D as SnapshotVecDelegate>::Undo: Clone

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<D> Debug for UndoLog<D> where
    D: SnapshotVecDelegate + Debug,
    <D as SnapshotVecDelegate>::Value: Debug,
    <D as SnapshotVecDelegate>::Undo: Debug

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<D> Send for UndoLog<D> where
    <D as SnapshotVecDelegate>::Undo: Send,
    <D as SnapshotVecDelegate>::Value: Send

impl<D> Sync for UndoLog<D> where
    <D as SnapshotVecDelegate>::Undo: Sync,
    <D as SnapshotVecDelegate>::Value: Sync