Trait rustc_privacy::VisibilityLike[−][src]

pub(crate) trait VisibilityLike: Sized {
    const MAX: Self;
    const SHALLOW: bool;

    fn new_min(find: &FindMin<'_, '_, Self>, def_id: DefId) -> Self;

    fn of_impl(
        hir_id: HirId,
        tcx: TyCtxt<'_>,
        access_levels: &AccessLevels
    ) -> Self { ... } }

Associated Constants

const MAX: Self[src]

const SHALLOW: bool[src]

Loading content...

Required methods

fn new_min(find: &FindMin<'_, '_, Self>, def_id: DefId) -> Self[src]

Loading content...

Provided methods

fn of_impl(hir_id: HirId, tcx: TyCtxt<'_>, access_levels: &AccessLevels) -> Self[src]

Loading content...

Implementations on Foreign Types

impl VisibilityLike for Visibility[src]

impl VisibilityLike for Option<AccessLevel>[src]

Loading content...

Implementors

Loading content...