pub struct ResolutionTarget {
pub candidate: ResolutionCandidate,
pub strategy: ResolutionStrategy,
}Expand description
Definition selected by a traced lookup and the strategy that selected it.
Fields§
§candidate: ResolutionCandidateDescribes the selected loaded definition.
strategy: ResolutionStrategyIdentifies the resolver strategy that selected the definition.
Trait Implementations§
Source§impl Clone for ResolutionTarget
impl Clone for ResolutionTarget
Source§fn clone(&self) -> ResolutionTarget
fn clone(&self) -> ResolutionTarget
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 ResolutionTarget
impl Debug for ResolutionTarget
impl Eq for ResolutionTarget
Source§impl PartialEq for ResolutionTarget
impl PartialEq for ResolutionTarget
impl StructuralPartialEq for ResolutionTarget
Auto Trait Implementations§
impl Freeze for ResolutionTarget
impl RefUnwindSafe for ResolutionTarget
impl Send for ResolutionTarget
impl Sync for ResolutionTarget
impl Unpin for ResolutionTarget
impl UnsafeUnpin for ResolutionTarget
impl UnwindSafe for ResolutionTarget
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.