Struct asciimath_parser::tree::SimpleUnary
source · pub struct SimpleUnary<'a> {
pub op: &'a str,
/* private fields */
}
Expand description
A unary operator like “sqrt”
Fields§
§op: &'a str
The operator name
Implementations§
Trait Implementations§
source§impl<'a> Clone for SimpleUnary<'a>
impl<'a> Clone for SimpleUnary<'a>
source§fn clone(&self) -> SimpleUnary<'a>
fn clone(&self) -> SimpleUnary<'a>
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<'a> Debug for SimpleUnary<'a>
impl<'a> Debug for SimpleUnary<'a>
source§impl<'a> From<SimpleUnary<'a>> for Simple<'a>
impl<'a> From<SimpleUnary<'a>> for Simple<'a>
source§fn from(inp: SimpleUnary<'a>) -> Self
fn from(inp: SimpleUnary<'a>) -> Self
Converts to this type from the input type.
source§impl<'a> PartialEq<SimpleUnary<'a>> for SimpleUnary<'a>
impl<'a> PartialEq<SimpleUnary<'a>> for SimpleUnary<'a>
source§fn eq(&self, other: &SimpleUnary<'a>) -> bool
fn eq(&self, other: &SimpleUnary<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.