Struct rustc_hir_typeck::method::NoMatchData
source · pub struct NoMatchData<'tcx> {
pub static_candidates: Vec<CandidateSource>,
pub unsatisfied_predicates: Vec<(Predicate<'tcx>, Option<Predicate<'tcx>>, Option<ObligationCause<'tcx>>)>,
pub out_of_scope_traits: Vec<DefId>,
pub similar_candidate: Option<AssocItem>,
pub mode: Mode,
}
Fields§
§static_candidates: Vec<CandidateSource>
§unsatisfied_predicates: Vec<(Predicate<'tcx>, Option<Predicate<'tcx>>, Option<ObligationCause<'tcx>>)>
§out_of_scope_traits: Vec<DefId>
§similar_candidate: Option<AssocItem>
§mode: Mode
Trait Implementations§
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for NoMatchData<'tcx>
impl<'tcx> !Send for NoMatchData<'tcx>
impl<'tcx> !Sync for NoMatchData<'tcx>
impl<'tcx> Unpin for NoMatchData<'tcx>
impl<'tcx> !UnwindSafe for NoMatchData<'tcx>
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
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: 120 bytes