pub struct SolverCandidate {
pub id: &'static str,
pub home: CapabilityHome,
pub exposure: ExposureKind,
pub problem_class: ProblemClass,
pub symbol: &'static str,
pub crate_name: &'static str,
pub seed_prefix: Option<&'static str>,
pub plan_prefix: Option<&'static str>,
pub feature: Option<&'static str>,
pub confidence: &'static str,
pub when_to_use: &'static str,
}Expand description
A candidate Suggestor or Pack surface.
Fields§
§id: &'static str§home: CapabilityHome§exposure: ExposureKind§problem_class: ProblemClass§symbol: &'static str§crate_name: &'static str§seed_prefix: Option<&'static str>§plan_prefix: Option<&'static str>§feature: Option<&'static str>§confidence: &'static str§when_to_use: &'static strTrait Implementations§
Source§impl Clone for SolverCandidate
impl Clone for SolverCandidate
Source§fn clone(&self) -> SolverCandidate
fn clone(&self) -> SolverCandidate
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 moreSource§impl Debug for SolverCandidate
impl Debug for SolverCandidate
Source§impl PartialEq for SolverCandidate
impl PartialEq for SolverCandidate
Source§fn eq(&self, other: &SolverCandidate) -> bool
fn eq(&self, other: &SolverCandidate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SolverCandidate
impl StructuralPartialEq for SolverCandidate
Auto Trait Implementations§
impl Freeze for SolverCandidate
impl RefUnwindSafe for SolverCandidate
impl Send for SolverCandidate
impl Sync for SolverCandidate
impl Unpin for SolverCandidate
impl UnsafeUnpin for SolverCandidate
impl UnwindSafe for SolverCandidate
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