Struct undo::record::Checkpoint
source · pub struct Checkpoint<'a, E, S> { /* private fields */ }
Expand description
Wraps a Record
and gives it checkpoint functionality.
Implementations§
source§impl<E, S> Checkpoint<'_, E, S>
impl<E, S> Checkpoint<'_, E, S>
sourcepub fn checkpoint(&mut self) -> Checkpoint<'_, E, S>
pub fn checkpoint(&mut self) -> Checkpoint<'_, E, S>
Returns a checkpoint.
source§impl<E: Edit, S: Slot> Checkpoint<'_, E, S>
impl<E: Edit, S: Slot> Checkpoint<'_, E, S>
Trait Implementations§
Auto Trait Implementations§
impl<'a, E, S> RefUnwindSafe for Checkpoint<'a, E, S>where E: RefUnwindSafe, S: RefUnwindSafe,
impl<'a, E, S> Send for Checkpoint<'a, E, S>where E: Send, S: Send,
impl<'a, E, S> Sync for Checkpoint<'a, E, S>where E: Sync, S: Sync,
impl<'a, E, S> Unpin for Checkpoint<'a, E, S>where E: Unpin,
impl<'a, E, S> !UnwindSafe for Checkpoint<'a, E, S>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more