pub struct ResolutionCandidate { /* private fields */ }Expand description
One definition a reference may denote.
Implementations§
Source§impl ResolutionCandidate
impl ResolutionCandidate
Sourcepub fn definition(&self) -> DefinitionId
pub fn definition(&self) -> DefinitionId
The candidate definition.
Sourcepub fn certainty(&self) -> ResolutionCertainty
pub fn certainty(&self) -> ResolutionCertainty
How much this candidate is known.
Trait Implementations§
Source§impl Clone for ResolutionCandidate
impl Clone for ResolutionCandidate
Source§fn clone(&self) -> ResolutionCandidate
fn clone(&self) -> ResolutionCandidate
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 ResolutionCandidate
Source§impl Debug for ResolutionCandidate
impl Debug for ResolutionCandidate
Source§impl<'de> Deserialize<'de> for ResolutionCandidate
impl<'de> Deserialize<'de> for ResolutionCandidate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ResolutionCandidate
Source§impl PartialEq for ResolutionCandidate
impl PartialEq for ResolutionCandidate
Source§impl Serialize for ResolutionCandidate
impl Serialize for ResolutionCandidate
impl StructuralPartialEq for ResolutionCandidate
Auto Trait Implementations§
impl Freeze for ResolutionCandidate
impl RefUnwindSafe for ResolutionCandidate
impl Send for ResolutionCandidate
impl Sync for ResolutionCandidate
impl Unpin for ResolutionCandidate
impl UnsafeUnpin for ResolutionCandidate
impl UnwindSafe for ResolutionCandidate
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