Struct rustc_typeck::coherence::inherent_impls::InherentCollect
source · [−]struct InherentCollect<'tcx> {
tcx: TyCtxt<'tcx>,
impls_map: CrateInherentImpls,
}
Fields
tcx: TyCtxt<'tcx>
impls_map: CrateInherentImpls
Implementations
sourceimpl<'tcx> InherentCollect<'tcx>
impl<'tcx> InherentCollect<'tcx>
fn check_def_id(&mut self, item: &Item<'_>, self_ty: Ty<'tcx>, def_id: DefId)
fn check_primitive_impl(
&mut self,
impl_def_id: LocalDefId,
ty: Ty<'tcx>,
items: &[ImplItemRef],
span: Span
)
fn check_item(&mut self, id: ItemId)
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for InherentCollect<'tcx>
impl<'tcx> !Send for InherentCollect<'tcx>
impl<'tcx> !Sync for InherentCollect<'tcx>
impl<'tcx> Unpin for InherentCollect<'tcx>
impl<'tcx> !UnwindSafe for InherentCollect<'tcx>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
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: 72 bytes