pub enum EditHistory {
Separate,
None,
}Expand description
How an applied batch enters local undo history.
Variants§
Separate
Exactly one undo step, whatever the capture mode.
None
Outside undo history; existing undo and redo entries stay.
Trait Implementations§
Source§impl Clone for EditHistory
impl Clone for EditHistory
impl Copy for EditHistory
Source§impl Debug for EditHistory
impl Debug for EditHistory
Source§impl Default for EditHistory
impl Default for EditHistory
Source§impl<'de> Deserialize<'de> for EditHistory
impl<'de> Deserialize<'de> for EditHistory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EditHistory
Source§impl PartialEq for EditHistory
impl PartialEq for EditHistory
Source§impl Serialize for EditHistory
impl Serialize for EditHistory
impl StructuralPartialEq for EditHistory
Auto Trait Implementations§
impl Freeze for EditHistory
impl RefUnwindSafe for EditHistory
impl Send for EditHistory
impl Sync for EditHistory
impl Unpin for EditHistory
impl UnsafeUnpin for EditHistory
impl UnwindSafe for EditHistory
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.