[−][src]Enum evalexpr::Operator
An enum that represents operators in the operator tree.
Variants
A root node in the operator tree. The whole expression is stored under a root node, as well as each subexpression surrounded by parentheses.
A binary addition operator.
A binary subtraction operator.
A unary negation operator.
A binary multiplication operator.
A binary division operator.
A binary modulo operator.
A binary exponentiation operator.
A binary equality comparator.
A binary inequality comparator.
A binary greater-than comparator.
A binary lower-than comparator.
A binary greater-than-or-equal comparator.
A binary lower-than-or-equal comparator.
A binary logical and operator.
A binary logical or operator.
A binary logical not operator.
A binary assignment operator.
A binary add-assign operator.
A binary subtract-assign operator.
A binary multiply-assign operator.
A binary divide-assign operator.
A binary modulo-assign operator.
A binary exponentiate-assign operator.
A binary and-assign operator.
A binary or-assign operator.
An n-ary tuple constructor.
An n-ary subexpression chain.
A constant value.
Fields of Const
value: Value
The value of the constant.
A variable identifier.
Fields of VariableIdentifier
identifier: String
The identifier of the variable.
A function identifier.
Fields of FunctionIdentifier
identifier: String
The identifier of the function.
Trait Implementations
impl Clone for Operator
[src]
impl PartialEq<Operator> for Operator
[src]
impl Debug for Operator
[src]
impl Display for Operator
[src]
Auto Trait Implementations
impl Send for Operator
impl Sync for Operator
impl Unpin for Operator
impl RefUnwindSafe for Operator
impl UnwindSafe for Operator
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,