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
OpenSnapshotIndicates where a snapshot started.
CommittedSnapshotIndicates a snapshot that has been committed.
NewElem(usize)New variable with given index was created.
SetElem(usize, <D as SnapshotVecDelegate>::Value)Variable with given index was changed from the given value.
Other(<D as SnapshotVecDelegate>::Undo)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]
D: SnapshotVecDelegate,
<D as SnapshotVecDelegate>::Value: Clone,
<D as SnapshotVecDelegate>::Undo: Clone,
fn clone(&self) -> UndoLog<D>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
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]
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,
<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,
<D as SnapshotVecDelegate>::Undo: Sync,
<D as SnapshotVecDelegate>::Value: Sync,