Enum rustc_typeck::check::method::probe::CandidateKind
source · [−]enum CandidateKind<'tcx> {
InherentImplCandidate(SubstsRef<'tcx>, Vec<PredicateObligation<'tcx>>),
ObjectCandidate,
TraitCandidate(TraitRef<'tcx>),
WhereClauseCandidate(PolyTraitRef<'tcx>),
}Variants
InherentImplCandidate(SubstsRef<'tcx>, Vec<PredicateObligation<'tcx>>)
ObjectCandidate
TraitCandidate(TraitRef<'tcx>)
WhereClauseCandidate(PolyTraitRef<'tcx>)
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for CandidateKind
impl<'tcx> !Send for CandidateKind
impl<'tcx> !Sync for CandidateKind
impl<'tcx> Unpin for CandidateKind
impl<'tcx> !UnwindSafe for CandidateKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes
Size for each variant:
InherentImplCandidate: 32 bytesObjectCandidate: 0 bytesTraitCandidate: 16 bytesWhereClauseCandidate: 24 bytes