#[repr(u8)]pub enum BinaryOperation {
Add = 0,
Sub = 1,
Div = 2,
Mul = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for BinaryOperation
impl Clone for BinaryOperation
Source§fn clone(&self) -> BinaryOperation
fn clone(&self) -> BinaryOperation
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 Debug for BinaryOperation
impl Debug for BinaryOperation
Source§impl From<BinaryOperation> for u8
impl From<BinaryOperation> for u8
Source§fn from(val: BinaryOperation) -> Self
fn from(val: BinaryOperation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BinaryOperation
impl PartialEq for BinaryOperation
Source§impl TryFrom<u8> for BinaryOperation
impl TryFrom<u8> for BinaryOperation
impl Copy for BinaryOperation
impl Eq for BinaryOperation
impl StructuralPartialEq for BinaryOperation
Auto Trait Implementations§
impl Freeze for BinaryOperation
impl RefUnwindSafe for BinaryOperation
impl Send for BinaryOperation
impl Sync for BinaryOperation
impl Unpin for BinaryOperation
impl UnwindSafe for BinaryOperation
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