Struct rustc_passes::dead::LifeSeeder
source · [−]struct LifeSeeder<'tcx> {
worklist: Vec<LocalDefId>,
tcx: TyCtxt<'tcx>,
struct_constructors: FxHashMap<LocalDefId, LocalDefId>,
}Fields
worklist: Vec<LocalDefId>tcx: TyCtxt<'tcx>struct_constructors: FxHashMap<LocalDefId, LocalDefId>Trait Implementations
sourceimpl<'v, 'tcx> ItemLikeVisitor<'v> for LifeSeeder<'tcx>
impl<'v, 'tcx> ItemLikeVisitor<'v> for LifeSeeder<'tcx>
fn visit_item(&mut self, item: &Item<'_>)
fn visit_trait_item(&mut self, trait_item: &TraitItem<'_>)
fn visit_impl_item(&mut self, _item: &ImplItem<'_>)
fn visit_foreign_item(&mut self, foreign_item: &ForeignItem<'_>)
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for LifeSeeder<'tcx>
impl<'tcx> !Send for LifeSeeder<'tcx>
impl<'tcx> !Sync for LifeSeeder<'tcx>
impl<'tcx> Unpin for LifeSeeder<'tcx>
impl<'tcx> !UnwindSafe for LifeSeeder<'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: 64 bytes