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 From<MixedRecord> for NormalRecord
impl From<MixedRecord> for NormalRecord
source§fn from(value: MixedRecord) -> Self
fn from(value: MixedRecord) -> Self
Converts to this type from the input type.
source§impl From<NormalRecord> for Expr
impl From<NormalRecord> for Expr
source§fn from(record: NormalRecord) -> Self
fn from(record: NormalRecord) -> Self
Converts to this type from the input type.
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 for NormalRecord
impl PartialEq 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 ==
.impl Eq for NormalRecord
impl StructuralPartialEq for NormalRecord
Auto Trait Implementations§
impl Freeze for NormalRecord
impl RefUnwindSafe for NormalRecord
impl Send for NormalRecord
impl Sync for NormalRecord
impl Unpin for NormalRecord
impl UnwindSafe for NormalRecord
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more