[−][src]Trait rustc_privacy::VisibilityLike

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

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

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

Associated Constants

pub(crate) const MAX: Self[src]

pub(crate) const SHALLOW: bool[src]

Loading content...

Required methods

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

Loading content...

Provided methods

pub(crate) 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...