Struct rustc_metadata::rmeta::encoder::ImplsVisitor
source · [−]struct ImplsVisitor<'tcx> {
tcx: TyCtxt<'tcx>,
impls: FxHashMap<DefId, Vec<(DefIndex, Option<SimplifiedType>)>>,
}Fields
tcx: TyCtxt<'tcx>impls: FxHashMap<DefId, Vec<(DefIndex, Option<SimplifiedType>)>>Trait Implementations
sourceimpl<'tcx, 'v> ItemLikeVisitor<'v> for ImplsVisitor<'tcx>
impl<'tcx, 'v> ItemLikeVisitor<'v> for ImplsVisitor<'tcx>
fn visit_item(&mut self, item: &Item<'_>)
fn visit_trait_item(&mut self, _trait_item: &'v TraitItem<'v>)
fn visit_impl_item(&mut self, _impl_item: &'v ImplItem<'v>)
fn visit_foreign_item(&mut self, _foreign_item: &'v ForeignItem<'v>)
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for ImplsVisitor<'tcx>
impl<'tcx> !Send for ImplsVisitor<'tcx>
impl<'tcx> !Sync for ImplsVisitor<'tcx>
impl<'tcx> Unpin for ImplsVisitor<'tcx>
impl<'tcx> !UnwindSafe for ImplsVisitor<'tcx>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for T where
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: 40 bytes