Struct erg_parser::ast::VarRecordAttr
source · pub struct VarRecordAttr {
pub lhs: Identifier,
pub rhs: VarSignature,
}
Fields§
§lhs: Identifier
§rhs: VarSignature
Implementations§
source§impl VarRecordAttr
impl VarRecordAttr
pub const fn new(lhs: Identifier, rhs: VarSignature) -> Self
Trait Implementations§
source§impl Clone for VarRecordAttr
impl Clone for VarRecordAttr
source§fn clone(&self) -> VarRecordAttr
fn clone(&self) -> VarRecordAttr
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