Struct undo::history::Checkpoint
source · pub struct Checkpoint<'a, A, S> { /* private fields */ }
Expand description
Wraps a history and gives it checkpoint functionality.
Implementations§
source§impl<A, S> Checkpoint<'_, A, S>
impl<A, S> Checkpoint<'_, A, S>
sourcepub fn checkpoint(&mut self) -> Checkpoint<'_, A, S>
pub fn checkpoint(&mut self) -> Checkpoint<'_, A, S>
Returns a checkpoint.