Enum solang_parser::pt::VariableAttribute
source · [−]pub enum VariableAttribute {
Visibility(Visibility),
Constant(Loc),
Immutable(Loc),
Override(Loc, Vec<IdentifierPath>),
}Variants
Visibility(Visibility)
Constant(Loc)
Immutable(Loc)
Override(Loc, Vec<IdentifierPath>)
Trait Implementations
sourceimpl Clone for VariableAttribute
impl Clone for VariableAttribute
sourcefn clone(&self) -> VariableAttribute
fn clone(&self) -> VariableAttribute
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for VariableAttribute
impl Debug for VariableAttribute
sourceimpl PartialEq<VariableAttribute> for VariableAttribute
impl PartialEq<VariableAttribute> for VariableAttribute
sourcefn eq(&self, other: &VariableAttribute) -> bool
fn eq(&self, other: &VariableAttribute) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &VariableAttribute) -> bool
fn ne(&self, other: &VariableAttribute) -> bool
This method tests for !=.
impl StructuralPartialEq for VariableAttribute
Auto Trait Implementations
impl RefUnwindSafe for VariableAttribute
impl Send for VariableAttribute
impl Sync for VariableAttribute
impl Unpin for VariableAttribute
impl UnwindSafe for VariableAttribute
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more