pub enum EditorKind {
Vi,
Vim,
Nvim,
Emacs,
Nano,
Pico,
Helix,
Kakoune,
Code,
Gvim,
UnknownEditor,
}Variants§
Trait Implementations§
Source§impl Clone for EditorKind
impl Clone for EditorKind
Source§fn clone(&self) -> EditorKind
fn clone(&self) -> EditorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EditorKind
impl Debug for EditorKind
Source§impl Default for EditorKind
impl Default for EditorKind
Source§fn default() -> EditorKind
fn default() -> EditorKind
Returns the “default value” for a type. Read more
Source§impl Display for EditorKind
impl Display for EditorKind
Source§impl From<String> for EditorKind
impl From<String> for EditorKind
Source§fn from(value: String) -> Self
fn from(value: String) -> Self
Convert a string to an EditorKind.
Auto Trait Implementations§
impl Freeze for EditorKind
impl RefUnwindSafe for EditorKind
impl Send for EditorKind
impl Sync for EditorKind
impl Unpin for EditorKind
impl UnwindSafe for EditorKind
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