pub enum UndoHistoryAction {
Undo,
Redo,
}Expand description
Whether empty-history advice refers to undo or redo.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for UndoHistoryAction
impl Clone for UndoHistoryAction
Source§fn clone(&self) -> UndoHistoryAction
fn clone(&self) -> UndoHistoryAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UndoHistoryAction
Source§impl Debug for UndoHistoryAction
impl Debug for UndoHistoryAction
impl Eq for UndoHistoryAction
Source§impl PartialEq for UndoHistoryAction
impl PartialEq for UndoHistoryAction
impl StructuralPartialEq for UndoHistoryAction
Auto Trait Implementations§
impl Freeze for UndoHistoryAction
impl RefUnwindSafe for UndoHistoryAction
impl Send for UndoHistoryAction
impl Sync for UndoHistoryAction
impl Unpin for UndoHistoryAction
impl UnsafeUnpin for UndoHistoryAction
impl UnwindSafe for UndoHistoryAction
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