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 { ... }
}
Required Associated Constants§
Required Methods§
fn new_min<const SHALLOW: bool>( find: &FindMin<'_, '_, Self, SHALLOW>, def_id: LocalDefId ) -> Self
Provided Methods§
fn of_impl<const SHALLOW: bool>( def_id: LocalDefId, tcx: TyCtxt<'_>, effective_visibilities: &EffectiveVisibilities ) -> Self
Object Safety§
This trait is not object safe.