pub enum Editor {
Hx,
Nvim,
}Expand description
Supported text editors for file operations.
Variants§
Implementations§
Source§impl Editor
impl Editor
Sourcepub fn open_file_cmd(&self, file_to_open: &FileToOpen) -> String
pub fn open_file_cmd(&self, file_to_open: &FileToOpen) -> String
Generates a command string to open the specified FileToOpen in the Editor.
Sourcepub const fn pane_titles(&self) -> &[&str]
pub const fn pane_titles(&self) -> &[&str]
Returns the pane titles associated with the Editor variant.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Editor
impl RefUnwindSafe for Editor
impl Send for Editor
impl Sync for Editor
impl Unpin for Editor
impl UnsafeUnpin for Editor
impl UnwindSafe for Editor
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