[−][src]Struct rustc_metadata::rmeta::encoder::PrefetchVisitor

pub(in rmeta::encoder) struct PrefetchVisitor<'tcx> {
    tcx: TyCtxt<'tcx>,
    mir_keys: &'tcx FxHashSet<LocalDefId>,
}

Used to prefetch queries which will be needed later by metadata encoding. Only a subset of the queries are actually prefetched to keep this code smaller.

Fields

tcx: TyCtxt<'tcx>mir_keys: &'tcx FxHashSet<LocalDefId>

Implementations

impl<'tcx> PrefetchVisitor<'tcx>[src]

pub(in rmeta::encoder) fn prefetch_mir(
    &self,
    def_id: LocalDefId
)
[src]

Trait Implementations

impl<'tcx, 'v> ParItemLikeVisitor<'v> for PrefetchVisitor<'tcx>[src]

Auto Trait Implementations

impl<'tcx> !RefUnwindSafe for PrefetchVisitor<'tcx>

impl<'tcx> !Send for PrefetchVisitor<'tcx>

impl<'tcx> !Sync for PrefetchVisitor<'tcx>

impl<'tcx> Unpin for PrefetchVisitor<'tcx>

impl<'tcx> !UnwindSafe for PrefetchVisitor<'tcx>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.