Struct erg_parser::ast::ConstBinOp
source · Fields§
§op: Token
§lhs: Box<ConstExpr>
§rhs: Box<ConstExpr>
Implementations§
Trait Implementations§
source§impl Clone for ConstBinOp
impl Clone for ConstBinOp
source§fn clone(&self) -> ConstBinOp
fn clone(&self) -> ConstBinOp
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 ConstBinOp
impl Debug for ConstBinOp
source§impl Display for ConstBinOp
impl Display for ConstBinOp
source§impl Hash for ConstBinOp
impl Hash for ConstBinOp
source§impl Locational for ConstBinOp
impl Locational for ConstBinOp
source§impl NestedDisplay for ConstBinOp
impl NestedDisplay for ConstBinOp
source§impl PartialEq<ConstBinOp> for ConstBinOp
impl PartialEq<ConstBinOp> for ConstBinOp
source§fn eq(&self, other: &ConstBinOp) -> bool
fn eq(&self, other: &ConstBinOp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.