pub enum OperatorKind {
Show 16 variants
Assignment,
Eq,
NotEq,
Lt,
Gt,
LtEq,
GtEq,
Minus,
And,
Or,
Not,
Plus,
Mul,
Divide,
Mod,
MethodChaining,
}Variants§
Assignment
skibidi
Eq
valid
NotEq
cap
Lt
lowkey
Gt
flex
LtEq
lowkey valid
GtEq
flex valid
Minus
cut
And
frfr
Or
|
Not
nah
Plus
boost
Mul
drift
Divide
dab
Mod
skrrt
MethodChaining
Implementations§
Source§impl OperatorKind
impl OperatorKind
pub fn is_assignment(&self) -> bool
pub fn is_not_assignment(&self) -> bool
pub fn and_assignment(self, and: Self) -> Self
pub fn or_assignment(self, or: Self) -> Self
pub fn is_equal(&self) -> bool
pub fn is_not_equal(&self) -> bool
pub fn and_equal(self, and: Self) -> Self
pub fn or_equal(self, or: Self) -> Self
pub fn is_notequal(&self) -> bool
pub fn is_not_notequal(&self) -> bool
pub fn and_notequal(self, and: Self) -> Self
pub fn or_notequal(self, or: Self) -> Self
pub fn is_lt(&self) -> bool
pub fn is_not_lt(&self) -> bool
pub fn and_lt(self, and: Self) -> Self
pub fn or_lt(self, or: Self) -> Self
pub fn is_gt(&self) -> bool
pub fn is_not_gt(&self) -> bool
pub fn and_gt(self, and: Self) -> Self
pub fn or_gt(self, or: Self) -> Self
pub fn is_lt_eq(&self) -> bool
pub fn is_not_lt_eq(&self) -> bool
pub fn and_lt_eq(self, and: Self) -> Self
pub fn or_lt_eq(self, or: Self) -> Self
pub fn is_gt_eq(&self) -> bool
pub fn is_not_gt_eq(&self) -> bool
pub fn and_gt_eq(self, and: Self) -> Self
pub fn or_gt_eq(self, or: Self) -> Self
pub fn is_minus(&self) -> bool
pub fn is_not_minus(&self) -> bool
pub fn and_minus(self, and: Self) -> Self
pub fn or_minus(self, or: Self) -> Self
pub fn is_and(&self) -> bool
pub fn is_not_and(&self) -> bool
pub fn and_and(self, and: Self) -> Self
pub fn or_and(self, or: Self) -> Self
pub fn is_or(&self) -> bool
pub fn is_not_or(&self) -> bool
pub fn and_or(self, and: Self) -> Self
pub fn or_or(self, or: Self) -> Self
pub fn is_not(&self) -> bool
pub fn is_not_not(&self) -> bool
pub fn and_not(self, and: Self) -> Self
pub fn or_not(self, or: Self) -> Self
pub fn is_plus(&self) -> bool
pub fn is_not_plus(&self) -> bool
pub fn and_plus(self, and: Self) -> Self
pub fn or_plus(self, or: Self) -> Self
pub fn is_mul(&self) -> bool
pub fn is_not_mul(&self) -> bool
pub fn and_mul(self, and: Self) -> Self
pub fn or_mul(self, or: Self) -> Self
pub fn is_divide(&self) -> bool
pub fn is_not_divide(&self) -> bool
pub fn and_divide(self, and: Self) -> Self
pub fn or_divide(self, or: Self) -> Self
pub fn is_mod(&self) -> bool
pub fn is_not_mod(&self) -> bool
pub fn and_mod(self, and: Self) -> Self
pub fn or_mod(self, or: Self) -> Self
pub fn is_method_chaining(&self) -> bool
pub fn is_not_method_chaining(&self) -> bool
pub fn and_method_chaining(self, and: Self) -> Self
pub fn or_method_chaining(self, or: Self) -> Self
Source§impl OperatorKind
impl OperatorKind
pub const fn as_token_repr(&self) -> &'static str
pub const fn from_token_repr(text: &str) -> Option<Self>
Trait Implementations§
Source§impl Clone for OperatorKind
impl Clone for OperatorKind
Source§impl Debug for OperatorKind
impl Debug for OperatorKind
impl Eq for OperatorKind
Source§impl Hash for OperatorKind
impl Hash for OperatorKind
Source§impl PartialEq for OperatorKind
impl PartialEq for OperatorKind
impl StructuralPartialEq for OperatorKind
Auto Trait Implementations§
impl Freeze for OperatorKind
impl RefUnwindSafe for OperatorKind
impl Send for OperatorKind
impl Sync for OperatorKind
impl Unpin for OperatorKind
impl UnsafeUnpin for OperatorKind
impl UnwindSafe for OperatorKind
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more