Struct rustc_privacy::ReachEverythingInTheInterfaceVisitor [−][src]
pub(crate) struct ReachEverythingInTheInterfaceVisitor<'a, 'tcx> {
access_level: Option<AccessLevel>,
item_def_id: DefId,
ev: &'a mut EmbargoVisitor<'tcx>,
}Fields
access_level: Option<AccessLevel>item_def_id: DefIdev: &'a mut EmbargoVisitor<'tcx>Implementations
impl<'tcx> ReachEverythingInTheInterfaceVisitor<'_, 'tcx>[src]
impl<'tcx> ReachEverythingInTheInterfaceVisitor<'_, 'tcx>[src]Trait Implementations
impl<'tcx> DefIdVisitor<'tcx> for ReachEverythingInTheInterfaceVisitor<'_, 'tcx>[src]
impl<'tcx> DefIdVisitor<'tcx> for ReachEverythingInTheInterfaceVisitor<'_, 'tcx>[src]fn tcx(&self) -> TyCtxt<'tcx>[src]
fn visit_def_id(
&mut self,
def_id: DefId,
_kind: &str,
_descr: &dyn Display
) -> ControlFlow<Self::BreakTy>[src]
&mut self,
def_id: DefId,
_kind: &str,
_descr: &dyn Display
) -> ControlFlow<Self::BreakTy>
type BreakTy = ()
fn shallow(&self) -> bool[src]
fn skip_assoc_tys(&self) -> bool[src]
fn skeleton(&mut self) -> DefIdVisitorSkeleton<'_, 'tcx, Self>[src]
fn skeleton(&mut self) -> DefIdVisitorSkeleton<'_, 'tcx, Self>[src]Not overridden, but used to actually visit types and traits.
fn visit(
&mut self,
ty_fragment: impl TypeFoldable<'tcx>
) -> ControlFlow<Self::BreakTy>[src]
&mut self,
ty_fragment: impl TypeFoldable<'tcx>
) -> ControlFlow<Self::BreakTy>
fn visit_trait(
&mut self,
trait_ref: TraitRef<'tcx>
) -> ControlFlow<Self::BreakTy>[src]
&mut self,
trait_ref: TraitRef<'tcx>
) -> ControlFlow<Self::BreakTy>
fn visit_projection_ty(
&mut self,
projection: ProjectionTy<'tcx>
) -> ControlFlow<Self::BreakTy>[src]
&mut self,
projection: ProjectionTy<'tcx>
) -> ControlFlow<Self::BreakTy>
fn visit_predicates(
&mut self,
predicates: GenericPredicates<'tcx>
) -> ControlFlow<Self::BreakTy>[src]
&mut self,
predicates: GenericPredicates<'tcx>
) -> ControlFlow<Self::BreakTy>
Auto Trait Implementations
impl<'a, 'tcx> !RefUnwindSafe for ReachEverythingInTheInterfaceVisitor<'a, 'tcx>
impl<'a, 'tcx> !Send for ReachEverythingInTheInterfaceVisitor<'a, 'tcx>
impl<'a, 'tcx> !Sync for ReachEverythingInTheInterfaceVisitor<'a, 'tcx>
impl<'a, 'tcx> Unpin for ReachEverythingInTheInterfaceVisitor<'a, 'tcx> where
'tcx: 'a,
'tcx: 'a,