pub enum InfixOperator {
Show 14 variants
Add,
Sub,
Mul,
Div,
TruncDiv,
Pow,
Rem,
Lshift,
Rshift,
RotateL,
RotateR,
BitAnd,
BitOr,
BitXor,
}Expand description
An infix operator.
Variants§
Trait Implementations§
Source§impl Clone for InfixOperator
impl Clone for InfixOperator
Source§fn clone(&self) -> InfixOperator
fn clone(&self) -> InfixOperator
Returns a duplicate 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 InfixOperator
impl Debug for InfixOperator
Source§impl PartialEq for InfixOperator
impl PartialEq for InfixOperator
impl Copy for InfixOperator
impl Eq for InfixOperator
impl StructuralPartialEq for InfixOperator
Auto Trait Implementations§
impl Freeze for InfixOperator
impl RefUnwindSafe for InfixOperator
impl Send for InfixOperator
impl Sync for InfixOperator
impl Unpin for InfixOperator
impl UnwindSafe for InfixOperator
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more