Struct rustc_hir_typeck::method::probe::Candidate
source · pub(crate) struct Candidate<'tcx> {
xform_self_ty: Ty<'tcx>,
xform_ret_ty: Option<Ty<'tcx>>,
pub(crate) item: AssocItem,
pub(crate) kind: CandidateKind<'tcx>,
pub(crate) import_ids: SmallVec<[LocalDefId; 1]>,
}
Fields§
§xform_self_ty: Ty<'tcx>
§xform_ret_ty: Option<Ty<'tcx>>
§item: AssocItem
§kind: CandidateKind<'tcx>
§import_ids: SmallVec<[LocalDefId; 1]>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for Candidate<'tcx>
impl<'tcx> !Send for Candidate<'tcx>
impl<'tcx> !Sync for Candidate<'tcx>
impl<'tcx> Unpin for Candidate<'tcx>
impl<'tcx> !UnwindSafe for Candidate<'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