pub struct CandidateInput { /* private fields */ }Expand description
One candidate a writer offers for a reference.
The only way to name a candidate, so a candidate cannot reach a report without passing the same brand check every other handle does.
Implementations§
Source§impl CandidateInput
impl CandidateInput
Sourcepub fn new(definition: DefinitionHandle, certainty: ResolutionCertainty) -> Self
pub fn new(definition: DefinitionHandle, certainty: ResolutionCertainty) -> Self
A candidate definition and how much it is known.
Trait Implementations§
Source§impl Clone for CandidateInput
impl Clone for CandidateInput
Source§fn clone(&self) -> CandidateInput
fn clone(&self) -> CandidateInput
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 moreAuto Trait Implementations§
impl Freeze for CandidateInput
impl RefUnwindSafe for CandidateInput
impl Send for CandidateInput
impl Sync for CandidateInput
impl Unpin for CandidateInput
impl UnsafeUnpin for CandidateInput
impl UnwindSafe for CandidateInput
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