pub enum Action {
Show 16 variants
MoveCursor(Dir),
EnterPrompt(PromptType),
Prompt(PromptType, PromptAction),
EnterMode(Mode),
Append(char),
Pop,
CarriageReturn,
ClearCell,
AddRowAbove,
AddRowBelow,
DeleteRow,
AddColLeft,
AddColRight,
DeleteCol,
Save,
Quit,
}Expand description
Actions are unique and have the same behavior no matter the current mode.
Variants§
MoveCursor(Dir)
EnterPrompt(PromptType)
Prompt(PromptType, PromptAction)
EnterMode(Mode)
Append(char)
Pop
CarriageReturn
ClearCell
AddRowAbove
AddRowBelow
DeleteRow
AddColLeft
AddColRight
DeleteCol
Save
Quit
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