pub struct UndoToken {
pub saved: u64,
pub delta: u64,
}Expand description
Reversible auxiliary-state mutation retained for one descent.
Fields§
§saved: u64Auxiliary value before the descent.
delta: u64Mutation delta applied by the descent.
Auto Trait Implementations§
impl Freeze for UndoToken
impl RefUnwindSafe for UndoToken
impl Send for UndoToken
impl Sync for UndoToken
impl Unpin for UndoToken
impl UnsafeUnpin for UndoToken
impl UnwindSafe for UndoToken
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