Enum rustc_data_structures::snapshot_vec::UndoLog[][src]

pub enum UndoLog<D> where
    D: SnapshotVecDelegate
{ OpenSnapshot, CommittedSnapshot, NewElem(usize), SetElem(usize, <D as SnapshotVecDelegate>::Value), Other(<D as SnapshotVecDelegate>::Undo), }

Variants

Indicates where a snapshot started.

Indicates a snapshot that has been committed.

New variable with given index was created.

Variable with given index was changed from the given value.

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
[src]

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
[src]

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