[−][src]Struct rustc_privacy::DefIdVisitorSkeleton

pub(crate) struct DefIdVisitorSkeleton<'v, 'tcx, V: ?Sized> {
    def_id_visitor: &'v mut V,
    visited_opaque_tys: FxHashSet<DefId>,
    dummy: PhantomData<TyCtxt<'tcx>>,
}

Fields

def_id_visitor: &'v mut Vvisited_opaque_tys: FxHashSet<DefId>dummy: PhantomData<TyCtxt<'tcx>>

Implementations

impl<'tcx, V: ?Sized, '_> DefIdVisitorSkeleton<'_, 'tcx, V> where
    V: DefIdVisitor<'tcx>, 
[src]

pub(crate) fn visit_trait(
    &mut self,
    trait_ref: TraitRef<'tcx>
) -> ControlFlow<V::BreakTy>
[src]

pub(crate) fn visit_predicate(
    &mut self,
    predicate: Predicate<'tcx>
) -> ControlFlow<V::BreakTy>
[src]

pub(crate) fn visit_predicates(
    &mut self,
    predicates: GenericPredicates<'tcx>
) -> ControlFlow<V::BreakTy>
[src]

Trait Implementations

impl<'tcx, V: ?Sized, '_> TypeVisitor<'tcx> for DefIdVisitorSkeleton<'_, 'tcx, V> where
    V: DefIdVisitor<'tcx>, 
[src]

type BreakTy = V::BreakTy

Auto Trait Implementations

impl<'v, 'tcx, V> !RefUnwindSafe for DefIdVisitorSkeleton<'v, 'tcx, V>

impl<'v, 'tcx, V> !Send for DefIdVisitorSkeleton<'v, 'tcx, V>

impl<'v, 'tcx, V> !Sync for DefIdVisitorSkeleton<'v, 'tcx, V>

impl<'v, 'tcx, V: ?Sized> Unpin for DefIdVisitorSkeleton<'v, 'tcx, V>

impl<'v, 'tcx, V> !UnwindSafe for DefIdVisitorSkeleton<'v, 'tcx, V>

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<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.