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 moresourceimpl 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
impl Eq for VariableAttribute
impl StructuralEq for VariableAttribute
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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