pub enum AppliedKind {
Insert,
Delete,
Replace,
CursorMove,
UndoRedo,
}Expand description
Classification of an applied edit for downstream observers (binding push, validators, undo coalescing).
Variants§
Insert
User-driven insertion (a Key::Character arm, IME commit, paste).
Delete
User-driven deletion (Backspace, Delete, selection-replace).
Replace
Replacement (IME commit with replace_range, paste-over-selection).
CursorMove
Pure cursor / selection move; no text mutation.
UndoRedo
Undo / Redo replay.
Trait Implementations§
Source§impl Clone for AppliedKind
impl Clone for AppliedKind
Source§fn clone(&self) -> AppliedKind
fn clone(&self) -> AppliedKind
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 moreSource§impl Debug for AppliedKind
impl Debug for AppliedKind
Source§impl PartialEq for AppliedKind
impl PartialEq for AppliedKind
Source§fn eq(&self, other: &AppliedKind) -> bool
fn eq(&self, other: &AppliedKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AppliedKind
impl Eq for AppliedKind
impl StructuralPartialEq for AppliedKind
Auto Trait Implementations§
impl Freeze for AppliedKind
impl RefUnwindSafe for AppliedKind
impl Send for AppliedKind
impl Sync for AppliedKind
impl Unpin for AppliedKind
impl UnsafeUnpin for AppliedKind
impl UnwindSafe for AppliedKind
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> DynEq for T
impl<T> DynEq for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.