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>
impl<D: SnapshotVecDelegate> SnapshotVecStorage<D>
sourcepub 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>>,
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