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