pub enum LuaOp {
Show 17 variants
Add,
Sub,
Mul,
FloatDiv,
FloorDiv,
Mod,
Pow,
Band,
Bor,
Bxor,
Shl,
Shr,
Concat,
Len,
Eq,
Lt,
Le,
}Expand description
Lua core binary and unary operators covered by the current profile.
Variants§
Add
Addition.
Sub
Subtraction.
Mul
Multiplication.
FloatDiv
Floating-point division.
FloorDiv
Floor division.
Mod
Modulo.
Pow
Exponentiation.
Band
Bitwise and.
Bor
Bitwise or.
Bxor
Bitwise xor.
Shl
Bitwise left shift.
Shr
Bitwise right shift.
Concat
Concatenation.
Len
Length.
Eq
Equality.
Lt
Less-than.
Le
Less-than-or-equal.
Implementations§
Trait Implementations§
impl Copy for LuaOp
impl Eq for LuaOp
impl StructuralPartialEq for LuaOp
Auto Trait Implementations§
impl Freeze for LuaOp
impl RefUnwindSafe for LuaOp
impl Send for LuaOp
impl Sync for LuaOp
impl Unpin for LuaOp
impl UnsafeUnpin for LuaOp
impl UnwindSafe for LuaOp
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.