pub enum Outcome {
Consumed,
Close,
Save,
}Expand description
What the host should do after the grid handled a key.
Variants§
Consumed
The key was handled internally; nothing further for the host to do.
Close
The user asked to close the table editor (Esc/q in normal mode).
Save
The user asked to save (Ctrl+S); the host should persist the grid.
Trait Implementations§
impl Copy for Outcome
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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