Enum ra_ap_hir_def::visibility::RawVisibility [−][src]
pub enum RawVisibility { Module(ModPath), Public, }
Expand description
Visibility of an item, not yet resolved.
Variants
Module(ModPath)
pub(in module)
, pub(crate)
or pub(super)
. Also private, which is
equivalent to pub(self)
.
pub
.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RawVisibility
impl Send for RawVisibility
impl Sync for RawVisibility
impl Unpin for RawVisibility
impl UnwindSafe for RawVisibility
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.