Struct wagon_parser::parser::atom::Dictionary
source · pub struct Dictionary(/* private fields */);
Expand description
Implementations§
source§impl Dictionary
impl Dictionary
sourcepub const fn deconstruct(&self) -> (&Ident, &Expression)
pub const fn deconstruct(&self) -> (&Ident, &Expression)
Deconstruct the dictionary into it’s Ident
and Expression
.
Trait Implementations§
source§impl Clone for Dictionary
impl Clone for Dictionary
source§fn clone(&self) -> Dictionary
fn clone(&self) -> Dictionary
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 Dictionary
impl Debug for Dictionary
source§impl Display for Dictionary
impl Display for Dictionary
source§impl Hash for Dictionary
impl Hash for Dictionary
source§impl PartialEq for Dictionary
impl PartialEq for Dictionary
source§fn eq(&self, other: &Dictionary) -> bool
fn eq(&self, other: &Dictionary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Dictionary
impl StructuralPartialEq for Dictionary
Auto Trait Implementations§
impl Freeze for Dictionary
impl RefUnwindSafe for Dictionary
impl Send for Dictionary
impl Sync for Dictionary
impl Unpin for Dictionary
impl UnwindSafe for Dictionary
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.