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
sourceimpl NormalRecord
impl NormalRecord
pub fn new(l_brace: Token, r_brace: Token, attrs: RecordAttrs) -> Self
Trait Implementations
sourceimpl Clone for NormalRecord
impl Clone for NormalRecord
sourcefn clone(&self) -> NormalRecord
fn clone(&self) -> NormalRecord
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NormalRecord
impl Debug for NormalRecord
sourceimpl Display for NormalRecord
impl Display for NormalRecord
sourceimpl Hash for NormalRecord
impl Hash for NormalRecord
sourceimpl Locational for NormalRecord
impl Locational for NormalRecord
sourceimpl NestedDisplay for NormalRecord
impl NestedDisplay for NormalRecord
sourceimpl PartialEq<NormalRecord> for NormalRecord
impl PartialEq<NormalRecord> for NormalRecord
sourcefn eq(&self, other: &NormalRecord) -> bool
fn eq(&self, other: &NormalRecord) -> bool
impl Eq for NormalRecord
impl StructuralEq for NormalRecord
impl StructuralPartialEq for NormalRecord
Auto Trait Implementations
impl RefUnwindSafe for NormalRecord
impl !Send for NormalRecord
impl !Sync for NormalRecord
impl Unpin for NormalRecord
impl UnwindSafe for NormalRecord
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more