Type Alias ena::snapshot_vec::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§