Enum liner::Action [] [src]

pub enum Action {
    Insert {
        start: usize,
        text: Vec<char>,
    },
    Remove {
        start: usize,
        text: Vec<char>,
    },
    StartGroup,
    EndGroup,
}

A modification performed on a Buffer. These are used for the purpose of undo/redo.

Variants

Fields of Insert

Fields of Remove

Methods

impl Action
[src]

[src]

[src]

Trait Implementations

impl Debug for Action
[src]

[src]

Formats the value using the given formatter.

impl Clone for Action
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more