Enum runestick::Visibility [−][src]
pub enum Visibility { Inherited, Public, Crate, Super, SelfValue, }
Expand description
Information on the visibility of an item.
Variants
Inherited, or private visibility.
Something that is publicly visible pub
.
Something that is only visible in the current crate pub(crate)
.
Visible in the parent crate.
Only visible in the same crate.
Implementations
Check if from
can access to
with the current visibility.
Check if from
can access to
with the current visibility.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Visibility
impl Send for Visibility
impl Sync for Visibility
impl Unpin for Visibility
impl UnwindSafe for Visibility
Blanket Implementations
Mutably borrows from an owned value. Read more