Enum erg_compiler::ty::vis::VisibilityModifier
source · pub enum VisibilityModifier {
Public,
Private,
Restricted(Set<Str>),
SubtypeRestricted(Type),
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for VisibilityModifier
impl Clone for VisibilityModifier
source§fn clone(&self) -> VisibilityModifier
fn clone(&self) -> VisibilityModifier
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VisibilityModifier
impl Debug for VisibilityModifier
source§impl Display for VisibilityModifier
impl Display for VisibilityModifier
source§impl Hash for VisibilityModifier
impl Hash for VisibilityModifier
source§impl PartialEq<VisibilityModifier> for VisibilityModifier
impl PartialEq<VisibilityModifier> for VisibilityModifier
source§fn eq(&self, other: &VisibilityModifier) -> bool
fn eq(&self, other: &VisibilityModifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.