[−][src]Trait rustc_privacy::VisibilityLike

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

const SHALLOW: bool

Loading content...

Required methods

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

Loading content...

Provided methods

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

Loading content...

Implementations on Foreign Types

impl VisibilityLike for Visibility[src]

impl VisibilityLike for Option<AccessLevel>[src]

Loading content...

Implementors

Loading content...