pub enum Operator {
Show 16 variants
Plus,
Minus,
Division,
FloorDivision,
Multiplication,
Modulo,
Exponentiation,
Concatenation,
NotEqual,
And,
Or,
Not,
Intersection,
Union,
Optional,
Length,
}Expand description
A luau operator like + and -
Variants§
Plus
+
Minus
-
Division
/
FloorDivision
//
Multiplication
*
Modulo
%
Exponentiation
^
Concatenation
..
NotEqual
~=
And
and
Or
or
Not
not
Intersection
&
Union
|
Optional
?
Length
#
Implementations§
Trait Implementations§
Source§impl Ord for Operator
impl Ord for Operator
Source§impl PartialOrd for Operator
impl PartialOrd for Operator
impl Copy for Operator
impl Eq for Operator
impl StructuralPartialEq for Operator
Auto Trait Implementations§
impl Freeze for Operator
impl RefUnwindSafe for Operator
impl Send for Operator
impl Sync for Operator
impl Unpin for Operator
impl UnwindSafe for Operator
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