ena::snapshot_vec

Type Alias SnapshotVecStorage

Source
pub type SnapshotVecStorage<D: SnapshotVecDelegate> = SnapshotVec<D, Vec<<D as SnapshotVecDelegate>::Value>, ()>;

Aliased Type§

struct SnapshotVecStorage<D: SnapshotVecDelegate> { /* private fields */ }

Implementations§

Source§

impl<D: SnapshotVecDelegate> SnapshotVecStorage<D>

Source

pub fn with_log<'a, L>( &'a mut self, undo_log: L, ) -> SnapshotVec<D, &'a mut Vec<<D as SnapshotVecDelegate>::Value>, L>
where L: UndoLogs<UndoLog<D>>,

Creates a SnapshotVec using the undo_log, allowing mutating methods to be called

Trait Implementations§