pub struct EditorEntry {
pub aliases: &'static [&'static str],
pub display: &'static str,
pub command: &'static str,
pub detect: DetectMethod,
}Expand description
A single supported editor or terminal option.
Fields§
§aliases: &'static [&'static str]Short aliases accepted by resolve_editor_command (case-insensitive).
display: &'static strHuman-readable name shown in the setup prompt.
command: &'static strShell command passed to the opener (. is replaced with the actual path).
detect: DetectMethodHow to check whether this option is available on the current system.
Auto Trait Implementations§
impl Freeze for EditorEntry
impl RefUnwindSafe for EditorEntry
impl Send for EditorEntry
impl Sync for EditorEntry
impl Unpin for EditorEntry
impl UnsafeUnpin for EditorEntry
impl UnwindSafe for EditorEntry
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