[][src]Enum xi_core_lib::editor::EditType

pub enum EditType {
    Other,
    InsertChars,
    InsertNewline,
    Indent,
    Delete,
    Undo,
    Redo,
    Transpose,
    Surround,
}

Variants

Other

A catchall for edits that don't fit elsewhere, and which should always have their own undo groups; used for things like cut/copy/paste.

InsertChars

An insert from the keyboard/IME (not a paste or a yank).

InsertNewlineIndent

An indentation adjustment.

DeleteUndoRedoTransposeSurround

Trait Implementations

impl PartialEq<EditType> for EditType[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Copy for EditType[src]

impl Eq for EditType[src]

impl Clone for EditType[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for EditType[src]

impl Serialize for EditType[src]

impl<'de> Deserialize<'de> for EditType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]