pub struct UndoStack {
pub history: Vec<UndoCommand>,
pub future: Vec<UndoCommand>,
pub max_depth: usize,
pub next_id: u64,
}Fields§
§history: Vec<UndoCommand>§future: Vec<UndoCommand>§max_depth: usize§next_id: u64Auto Trait Implementations§
impl Freeze for UndoStack
impl RefUnwindSafe for UndoStack
impl Send for UndoStack
impl Sync for UndoStack
impl Unpin for UndoStack
impl UnsafeUnpin for UndoStack
impl UnwindSafe for UndoStack
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