[−][src]Struct rustc_privacy::DefIdVisitorSkeleton
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]
V: DefIdVisitor<'tcx>,
pub(crate) fn visit_trait(
&mut self,
trait_ref: TraitRef<'tcx>
) -> ControlFlow<V::BreakTy>[src]
&mut self,
trait_ref: TraitRef<'tcx>
) -> ControlFlow<V::BreakTy>
pub(crate) fn visit_predicate(
&mut self,
predicate: Predicate<'tcx>
) -> ControlFlow<V::BreakTy>[src]
&mut self,
predicate: Predicate<'tcx>
) -> ControlFlow<V::BreakTy>
pub(crate) fn visit_predicates(
&mut self,
predicates: GenericPredicates<'tcx>
) -> ControlFlow<V::BreakTy>[src]
&mut self,
predicates: GenericPredicates<'tcx>
) -> ControlFlow<V::BreakTy>
Trait Implementations
impl<'tcx, V: ?Sized, '_> TypeVisitor<'tcx> for DefIdVisitorSkeleton<'_, 'tcx, V> where
V: DefIdVisitor<'tcx>, [src]
V: DefIdVisitor<'tcx>,
type BreakTy = V::BreakTy
pub fn visit_ty(&mut self, ty: Ty<'tcx>) -> ControlFlow<V::BreakTy>[src]
pub fn visit_binder<T>(
&mut self,
t: &Binder<T>
) -> ControlFlow<Self::BreakTy, ()> where
T: TypeFoldable<'tcx>, [src]
&mut self,
t: &Binder<T>
) -> ControlFlow<Self::BreakTy, ()> where
T: TypeFoldable<'tcx>,
pub fn visit_region(
&mut self,
r: &'tcx RegionKind
) -> ControlFlow<Self::BreakTy, ()>[src]
&mut self,
r: &'tcx RegionKind
) -> ControlFlow<Self::BreakTy, ()>
pub fn visit_const(
&mut self,
c: &'tcx Const<'tcx>
) -> ControlFlow<Self::BreakTy, ()>[src]
&mut self,
c: &'tcx Const<'tcx>
) -> ControlFlow<Self::BreakTy, ()>
pub fn visit_predicate(
&mut self,
p: Predicate<'tcx>
) -> ControlFlow<Self::BreakTy, ()>[src]
&mut self,
p: Predicate<'tcx>
) -> ControlFlow<Self::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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,