pub struct UndoStack<T> { /* private fields */ }Expand description
Undo stack for storing state snapshots.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for UndoStack<T>
impl<T> RefUnwindSafe for UndoStack<T>where
VecDeque<T>: RefUnwindSafe,
impl<T> Send for UndoStack<T>
impl<T> Sync for UndoStack<T>
impl<T> Unpin for UndoStack<T>
impl<T> UnsafeUnpin for UndoStack<T>where
VecDeque<T>: UnsafeUnpin,
impl<T> UnwindSafe for UndoStack<T>where
VecDeque<T>: UnwindSafe,
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