Struct rustc_monomorphize::collector::InliningMap [−][src]
pub struct InliningMap<'tcx> {
index: FxHashMap<MonoItem<'tcx>, Range<usize>>,
targets: Vec<MonoItem<'tcx>>,
inlines: GrowableBitSet<usize>,
}
Expand description
Maps every mono item to all mono items it references in its body.
Fields
index: FxHashMap<MonoItem<'tcx>, Range<usize>>
targets: Vec<MonoItem<'tcx>>
inlines: GrowableBitSet<usize>
Implementations
pub fn with_inlining_candidates<F>(&self, source: MonoItem<'tcx>, f: F) where
F: FnMut(MonoItem<'tcx>),
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for InliningMap<'tcx>
impl<'tcx> !Send for InliningMap<'tcx>
impl<'tcx> !Sync for InliningMap<'tcx>
impl<'tcx> Unpin for InliningMap<'tcx>
impl<'tcx> !UnwindSafe for InliningMap<'tcx>
Blanket Implementations
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: 88 bytes