Trait rustc_privacy::VisibilityLike
source · pub(crate) trait VisibilityLike: Sized {
const MAX: Self;
// Required method
fn new_min<const SHALLOW: bool>(
find: &FindMin<'_, '_, Self, SHALLOW>,
def_id: LocalDefId
) -> Self;
// Provided method
fn of_impl<const SHALLOW: bool>(
def_id: LocalDefId,
tcx: TyCtxt<'_>,
effective_visibilities: &EffectiveVisibilities
) -> Self { ... }
}