pub enum Arithmetic {
Show 14 variants
Add = 0,
Sub = 1,
Mul = 2,
Mod = 3,
Pow = 4,
Div = 5,
IDiv = 6,
BAnd = 7,
BOr = 8,
BXor = 9,
Shl = 10,
Shr = 11,
Unm = 12,
BNot = 13,
}
Expand description
Arithmetic operations for lua_arith
.
Variants§
Add = 0
Sub = 1
Mul = 2
Mod = 3
Pow = 4
Div = 5
IDiv = 6
BAnd = 7
BOr = 8
BXor = 9
Shl = 10
Shr = 11
Unm = 12
BNot = 13
Trait Implementations§
Source§impl Clone for Arithmetic
impl Clone for Arithmetic
Source§fn clone(&self) -> Arithmetic
fn clone(&self) -> Arithmetic
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 Arithmetic
impl Debug for Arithmetic
Source§impl PartialEq for Arithmetic
impl PartialEq for Arithmetic
impl Copy for Arithmetic
impl Eq for Arithmetic
impl StructuralPartialEq for Arithmetic
Auto Trait Implementations§
impl Freeze for Arithmetic
impl RefUnwindSafe for Arithmetic
impl Send for Arithmetic
impl Sync for Arithmetic
impl Unpin for Arithmetic
impl UnwindSafe for Arithmetic
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