Struct endbasic_core::ast::UnaryOpSpan
source · Expand description
Components of a unary operation expression.
Fields§
§expr: ExprExpression affected by the operator.
pos: LineColStarting position of the operator.
Trait Implementations§
source§impl Clone for UnaryOpSpan
impl Clone for UnaryOpSpan
source§fn clone(&self) -> UnaryOpSpan
fn clone(&self) -> UnaryOpSpan
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 UnaryOpSpan
impl Debug for UnaryOpSpan
source§impl PartialEq<UnaryOpSpan> for UnaryOpSpan
impl PartialEq<UnaryOpSpan> for UnaryOpSpan
source§fn eq(&self, other: &UnaryOpSpan) -> bool
fn eq(&self, other: &UnaryOpSpan) -> bool
This method tests for
self and other values to be equal, and is used
by ==.