Enum erg_parser::ast::AccessModifier
source · pub enum AccessModifier {
Private,
Public,
Auto,
Force,
}
Variants§
Trait Implementations§
source§impl Clone for AccessModifier
impl Clone for AccessModifier
source§fn clone(&self) -> AccessModifier
fn clone(&self) -> AccessModifier
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 AccessModifier
impl Debug for AccessModifier
source§impl Hash for AccessModifier
impl Hash for AccessModifier
source§impl PartialEq<AccessModifier> for AccessModifier
impl PartialEq<AccessModifier> for AccessModifier
source§fn eq(&self, other: &AccessModifier) -> bool
fn eq(&self, other: &AccessModifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.