Struct erg_parser::ast::NormalRecord
source · pub struct NormalRecord {
pub l_brace: Token,
pub r_brace: Token,
pub attrs: RecordAttrs,
}
Fields§
§l_brace: Token
§r_brace: Token
§attrs: RecordAttrs
Implementations§
source§impl NormalRecord
impl NormalRecord
pub const fn new(l_brace: Token, r_brace: Token, attrs: RecordAttrs) -> Self
Trait Implementations§
source§impl Clone for NormalRecord
impl Clone for NormalRecord
source§fn clone(&self) -> NormalRecord
fn clone(&self) -> NormalRecord
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 NormalRecord
impl Debug for NormalRecord
source§impl Display for NormalRecord
impl Display for NormalRecord
source§impl Hash for NormalRecord
impl Hash for NormalRecord
source§impl Locational for NormalRecord
impl Locational for NormalRecord
source§impl NestedDisplay for NormalRecord
impl NestedDisplay for NormalRecord
source§impl PartialEq<NormalRecord> for NormalRecord
impl PartialEq<NormalRecord> for NormalRecord
source§fn eq(&self, other: &NormalRecord) -> bool
fn eq(&self, other: &NormalRecord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.