Struct erg_parser::ast::NormalDict
source · pub struct NormalDict {
pub l_brace: Token,
pub r_brace: Token,
pub kvs: Vec<KeyValue>,
}
Fields§
§l_brace: Token
§r_brace: Token
§kvs: Vec<KeyValue>
Implementations§
Trait Implementations§
source§impl Clone for NormalDict
impl Clone for NormalDict
source§fn clone(&self) -> NormalDict
fn clone(&self) -> NormalDict
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 NormalDict
impl Debug for NormalDict
source§impl Display for NormalDict
impl Display for NormalDict
source§impl Hash for NormalDict
impl Hash for NormalDict
source§impl Locational for NormalDict
impl Locational for NormalDict
source§impl NestedDisplay for NormalDict
impl NestedDisplay for NormalDict
source§impl PartialEq for NormalDict
impl PartialEq for NormalDict
source§fn eq(&self, other: &NormalDict) -> bool
fn eq(&self, other: &NormalDict) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NormalDict
impl StructuralPartialEq for NormalDict
Auto Trait Implementations§
impl Freeze for NormalDict
impl RefUnwindSafe for NormalDict
impl Send for NormalDict
impl Sync for NormalDict
impl Unpin for NormalDict
impl UnwindSafe for NormalDict
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