pub enum DetectMethod {
Path(&'static str),
Always,
}Expand description
How to check whether an editor/terminal is available on the current system.
Variants§
Path(&'static str)
Binary name to look up in PATH.
Always
Unconditionally considered present (e.g. Terminal.app on macOS).
Auto Trait Implementations§
impl Freeze for DetectMethod
impl RefUnwindSafe for DetectMethod
impl Send for DetectMethod
impl Sync for DetectMethod
impl Unpin for DetectMethod
impl UnsafeUnpin for DetectMethod
impl UnwindSafe for DetectMethod
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