Struct erg_parser::ast::ConstAttribute
source · pub struct ConstAttribute {
pub obj: Box<ConstExpr>,
pub name: ConstLocal,
}
Fields§
§obj: Box<ConstExpr>
§name: ConstLocal
Implementations§
Trait Implementations§
source§impl Clone for ConstAttribute
impl Clone for ConstAttribute
source§fn clone(&self) -> ConstAttribute
fn clone(&self) -> ConstAttribute
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 more