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 moresource§impl Debug for VarRecordAttr
impl Debug for VarRecordAttr
source§impl Display for VarRecordAttr
impl Display for VarRecordAttr
source§impl Hash for VarRecordAttr
impl Hash for VarRecordAttr
source§impl Locational for VarRecordAttr
impl Locational for VarRecordAttr
source§impl NestedDisplay for VarRecordAttr
impl NestedDisplay for VarRecordAttr
source§impl PartialEq<VarRecordAttr> for VarRecordAttr
impl PartialEq<VarRecordAttr> for VarRecordAttr
source§fn eq(&self, other: &VarRecordAttr) -> bool
fn eq(&self, other: &VarRecordAttr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.