Trait hir::HasVisibility[][src]

pub trait HasVisibility {
    fn visibility(&self, db: &dyn HirDatabase) -> Visibility;

    fn is_visible_from(&self, db: &dyn HirDatabase, module: Module) -> bool { ... }
}

Required methods

Provided methods

Implementors

Variants inherit visibility from the parent enum.