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