pub enum Action {
}
Expand description
An action to perform on an Editor
Variants§
Motion(Motion)
Move the cursor with some motion
Escape
Escape, clears selection
Insert(char)
Insert character at cursor
Enter
Create new line
Backspace
Delete text behind cursor
Delete
Delete text in front of cursor
Indent
Unindent
Click
Mouse click at specified position
DoubleClick
Mouse double click at specified position
TripleClick
Mouse triple click at specified position
Drag
Mouse drag to specified position
Scroll
Scroll specified number of lines
Trait Implementations§
impl Copy for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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,
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.