pub enum BinaryOperatorError {
Show 16 variants
Add,
Subtract,
Multiply,
FloatDivide,
FloorDivide,
Modulo,
Exponentiate,
UnaryNegate,
BitAnd,
BitOr,
BitXor,
BitNot,
ShiftLeft,
ShiftRight,
LessThan,
LessEqual,
}Variants§
Add
Subtract
Multiply
FloatDivide
FloorDivide
Modulo
Exponentiate
UnaryNegate
BitAnd
BitOr
BitXor
BitNot
ShiftLeft
ShiftRight
LessThan
LessEqual
Trait Implementations§
Source§impl Clone for BinaryOperatorError
impl Clone for BinaryOperatorError
Source§fn clone(&self) -> BinaryOperatorError
fn clone(&self) -> BinaryOperatorError
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 BinaryOperatorError
impl Debug for BinaryOperatorError
Source§impl Display for BinaryOperatorError
impl Display for BinaryOperatorError
Source§impl Error for BinaryOperatorError
impl Error for BinaryOperatorError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Copy for BinaryOperatorError
Auto Trait Implementations§
impl Freeze for BinaryOperatorError
impl RefUnwindSafe for BinaryOperatorError
impl Send for BinaryOperatorError
impl Sync for BinaryOperatorError
impl Unpin for BinaryOperatorError
impl UnwindSafe for BinaryOperatorError
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