struct CollectPrivateImplItemsVisitor<'a, 'tcx> {
tcx: TyCtxt<'tcx>,
access_levels: &'a AccessLevels,
worklist: &'a mut Vec<LocalDefId>,
}Fields
tcx: TyCtxt<'tcx>access_levels: &'a AccessLevelsworklist: &'a mut Vec<LocalDefId>Implementations
sourceimpl CollectPrivateImplItemsVisitor<'_, '_>
impl CollectPrivateImplItemsVisitor<'_, '_>
fn push_to_worklist_if_has_custom_linkage(&mut self, def_id: LocalDefId)
Trait Implementations
sourceimpl<'a, 'tcx> ItemLikeVisitor<'tcx> for CollectPrivateImplItemsVisitor<'a, 'tcx>
impl<'a, 'tcx> ItemLikeVisitor<'tcx> for CollectPrivateImplItemsVisitor<'a, 'tcx>
fn visit_item(&mut self, item: &Item<'_>)
fn visit_trait_item(&mut self, _trait_item: &TraitItem<'_>)
fn visit_impl_item(&mut self, impl_item: &ImplItem<'_>)
fn visit_foreign_item(&mut self, _foreign_item: &ForeignItem<'_>)
Auto Trait Implementations
impl<'a, 'tcx> !RefUnwindSafe for CollectPrivateImplItemsVisitor<'a, 'tcx>
impl<'a, 'tcx> !Send for CollectPrivateImplItemsVisitor<'a, 'tcx>
impl<'a, 'tcx> !Sync for CollectPrivateImplItemsVisitor<'a, 'tcx>
impl<'a, 'tcx> Unpin for CollectPrivateImplItemsVisitor<'a, 'tcx>
impl<'a, 'tcx> !UnwindSafe for CollectPrivateImplItemsVisitor<'a, '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
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: 24 bytes