pub enum MutationKind {
RawEdit,
GroupedEdit,
SelectionEdit,
Undo,
Redo,
}Expand description
The high-level operation that produced a ChangeBatch.
Variants§
RawEdit
A caller supplied one atomic edit.
GroupedEdit
A caller supplied a grouped list of edits.
SelectionEdit
The engine planned a selection-aware edit.
Undo
An undo group was reversed.
Redo
An undo group was replayed.
Trait Implementations§
Source§impl Clone for MutationKind
impl Clone for MutationKind
impl Copy for MutationKind
Source§impl Debug for MutationKind
impl Debug for MutationKind
impl Eq for MutationKind
Source§impl PartialEq for MutationKind
impl PartialEq for MutationKind
impl StructuralPartialEq for MutationKind
Auto Trait Implementations§
impl Forget for MutationKind
impl Freeze for MutationKind
impl Move for MutationKind
impl RefUnwindSafe for MutationKind
impl Send for MutationKind
impl Sync for MutationKind
impl Unpin for MutationKind
impl UnsafeUnpin for MutationKind
impl UnwindSafe for MutationKind
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