#[non_exhaustive]
pub enum EditMode {
Emacs,
Vi,
}
Expand description
Style of editing / Standard keymaps
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Emacs
Emacs keymap
Vi
Vi keymap
Trait Implementations
impl Copy for EditMode
impl Eq for EditMode
impl StructuralEq for EditMode
impl StructuralPartialEq for EditMode
Auto Trait Implementations
impl RefUnwindSafe for EditMode
impl Send for EditMode
impl Sync for EditMode
impl Unpin for EditMode
impl UnwindSafe for EditMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more