Enum ena::snapshot_vec::UndoLog
[−]
[src]
pub enum UndoLog<D: SnapshotVecDelegate> { OpenSnapshot, CommittedSnapshot, NewElem(usize), SetElem(usize, D::Value), Other(D::Undo), }
Variants
OpenSnapshot
Indicates where a snapshot started.
CommittedSnapshot
Indicates a snapshot that has been committed.
NewElem(usize)
New variable with given index was created.
SetElem(usize, D::Value)
Variable with given index was changed from the given value.
Other(D::Undo)
Extensible set of actions
Trait Implementations
impl<D: Debug + SnapshotVecDelegate> Debug for UndoLog<D> where
D::Value: Debug,
D::Undo: Debug,
[src]
D::Value: Debug,
D::Undo: Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<D: SnapshotVecDelegate> Clone for UndoLog<D> where
D::Value: Clone,
D::Undo: Clone,
[src]
D::Value: Clone,
D::Undo: Clone,
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,