pub enum OpType {
Value,
Unary,
Additive,
Multiplicative,
}
Expand description
Operation type for an individual expression
Variants§
Value
Single value, no operation
Unary
Unary operation
Additive
Additive operation (sum or difference)
Multiplicative
Multiplicative operation (product or quotient)
Trait Implementations§
source§impl PartialEq for OpType
impl PartialEq for OpType
impl Copy for OpType
impl Eq for OpType
impl StructuralPartialEq for OpType
Auto Trait Implementations§
impl RefUnwindSafe for OpType
impl Send for OpType
impl Sync for OpType
impl Unpin for OpType
impl UnwindSafe for OpType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
§type Iter<'a> = Once<&'a T>
where
T: 'a
type Iter<'a> = Once<&'a T> where T: 'a
An iterator over the items within this container, by reference.
§fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
Check whether an item is contained within this sequence.
§fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
Convert an item of the sequence into a [
MaybeRef
].