pub enum UndoBehavior {
OmitUndoPoint,
AddUndoPoint,
}Expand description
Determines whether to create an undo point.
Variants§
Trait Implementations§
Source§impl Clone for UndoBehavior
impl Clone for UndoBehavior
Source§fn clone(&self) -> UndoBehavior
fn clone(&self) -> UndoBehavior
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UndoBehavior
impl Debug for UndoBehavior
Source§impl Hash for UndoBehavior
impl Hash for UndoBehavior
Source§impl PartialEq for UndoBehavior
impl PartialEq for UndoBehavior
impl Copy for UndoBehavior
impl Eq for UndoBehavior
impl StructuralPartialEq for UndoBehavior
Auto Trait Implementations§
impl Freeze for UndoBehavior
impl RefUnwindSafe for UndoBehavior
impl Send for UndoBehavior
impl Sync for UndoBehavior
impl Unpin for UndoBehavior
impl UnwindSafe for UndoBehavior
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