pub struct Detector {
pub id: &'static str,
pub title: &'static str,
pub executable: &'static str,
pub version_args: &'static [&'static str],
pub markers: &'static [Marker],
}Expand description
One toolchain this executable knows how to recognise.
Fields§
§id: &'static strA stable id, [a-z][a-z0-9-]*.
title: &'static strThe short name a person reads.
executable: &'static strThe executable whose version is asked, in a full resolution.
version_args: &'static [&'static str]The arguments that make it print its version.
markers: &'static [Marker]Where it may be declared, most specific first; the first that exists decides.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Detector
impl RefUnwindSafe for Detector
impl Send for Detector
impl Sync for Detector
impl Unpin for Detector
impl UnsafeUnpin for Detector
impl UnwindSafe for Detector
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