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
OpenSnapshot
🔬 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.
CommittedSnapshot
🔬 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.
NewElem(usize)
🔬 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.
SetElem(usize, <D as SnapshotVecDelegate>::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?
Variable with given index was changed from the given 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?
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,
impl<D> Clone for UndoLog<D> where
D: SnapshotVecDelegate,
<D as SnapshotVecDelegate>::Value: Clone,
<D as SnapshotVecDelegate>::Undo: Clone,
fn clone(&self) -> UndoLog<D>
fn clone(&self) -> UndoLog<D>
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<D> Debug for UndoLog<D> where
D: SnapshotVecDelegate + Debug,
<D as SnapshotVecDelegate>::Value: Debug,
<D as SnapshotVecDelegate>::Undo: Debug,
impl<D> Debug for UndoLog<D> where
D: SnapshotVecDelegate + Debug,
<D as SnapshotVecDelegate>::Value: Debug,
<D as SnapshotVecDelegate>::Undo: Debug,
Auto Trait Implementations
impl<D> Send for UndoLog<D> where
<D as SnapshotVecDelegate>::Undo: Send,
<D as SnapshotVecDelegate>::Value: Send,
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,
impl<D> Sync for UndoLog<D> where
<D as SnapshotVecDelegate>::Undo: Sync,
<D as SnapshotVecDelegate>::Value: Sync,