Enum ena::snapshot_vec::UndoLog [] [src]

pub enum UndoLog<D: SnapshotVecDelegate> {
    OpenSnapshot,
    CommittedSnapshot,
    NewElem(usize),
    SetElem(usize, D::Value),
    Other(D::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: Debug + SnapshotVecDelegate> Debug for UndoLog<D> where
    D::Value: Debug,
    D::Undo: Debug
[src]

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. 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