pub struct HelperComponent {
pub name: &'static str,
pub binary: &'static str,
pub analyses: &'static [Language],
pub enables: &'static str,
pub advice: &'static str,
}Expand description
An optional out-of-process helper, and what a machine without it loses.
Fields§
§name: &'static strThe name reported for it.
binary: &'static strThe program to look for.
analyses: &'static [Language]The languages it is the one to ask about.
Beside the sentence that says the same thing to a reader, rather than parsed back out of it: a run picking a helper per file and a report saying what having it makes possible are then two readings of one answer, and neither can drift from the other.
enables: &'static strWhat having it makes possible.
advice: &'static strWhat to do about not having it.
Trait Implementations§
Source§impl Clone for HelperComponent
impl Clone for HelperComponent
Source§fn clone(&self) -> HelperComponent
fn clone(&self) -> HelperComponent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HelperComponent
Source§impl Debug for HelperComponent
impl Debug for HelperComponent
impl Eq for HelperComponent
Source§impl PartialEq for HelperComponent
impl PartialEq for HelperComponent
impl StructuralPartialEq for HelperComponent
Auto Trait Implementations§
impl Freeze for HelperComponent
impl RefUnwindSafe for HelperComponent
impl Send for HelperComponent
impl Sync for HelperComponent
impl Unpin for HelperComponent
impl UnsafeUnpin for HelperComponent
impl UnwindSafe for HelperComponent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.