Struct rustc_privacy::FindMin [−][src]
pub(crate) struct FindMin<'a, 'tcx, VL: VisibilityLike> {
tcx: TyCtxt<'tcx>,
access_levels: &'a AccessLevels,
min: VL,
}
Expand description
Visitor used to determine impl visibility and reachability.
Fields
tcx: TyCtxt<'tcx>
access_levels: &'a AccessLevels
min: VL
Trait Implementations
fn visit_def_id(
&mut self,
def_id: DefId,
_kind: &str,
_descr: &dyn Display
) -> ControlFlow<Self::BreakTy>
Not overridden, but used to actually visit types and traits.
fn visit_projection_ty(
&mut self,
projection: ProjectionTy<'tcx>
) -> ControlFlow<Self::BreakTy>
fn visit_predicates(
&mut self,
predicates: GenericPredicates<'tcx>
) -> ControlFlow<Self::BreakTy>
Auto Trait Implementations
impl<'a, 'tcx, VL> !RefUnwindSafe for FindMin<'a, 'tcx, VL>
impl<'a, 'tcx, VL> !UnwindSafe for FindMin<'a, 'tcx, VL>
Blanket Implementations
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.