pub enum PhpBinaryOperator {
Show 25 variants
Plus,
Minus,
Multiply,
Divide,
Modulo,
Power,
Concat,
Equal,
NotEqual,
Identical,
NotIdentical,
Less,
LessEqual,
Greater,
GreaterEqual,
Spaceship,
LogicalAnd,
LogicalOr,
LogicalXor,
BitwiseAnd,
BitwiseOr,
BitwiseXor,
LeftShift,
RightShift,
NullCoalesce,
}Expand description
PHP binary operators.
Variants§
Plus
Addition (+).
Minus
Subtraction (-).
Multiply
Multiplication (*).
Divide
Division (/).
Modulo
Modulo (%).
Power
Power (**).
Concat
Concatenation (.).
Equal
Equality (==).
NotEqual
Inequality (!=).
Identical
Identity (===).
NotIdentical
Non-identity (!==).
Less
Less than (<).
LessEqual
Less than or equal to (<=).
Greater
Greater than (>).
GreaterEqual
Greater than or equal to (>=).
Spaceship
Spaceship operator (<=>).
LogicalAnd
Logical AND (&& or and).
LogicalOr
Logical OR (|| or or).
LogicalXor
Logical XOR (xor).
BitwiseAnd
Bitwise AND (&).
BitwiseOr
Bitwise OR (|).
BitwiseXor
Bitwise XOR (^).
LeftShift
Left shift (<<).
RightShift
Right shift (>>).
NullCoalesce
Null coalesce (??).
Trait Implementations§
Source§impl Clone for PhpBinaryOperator
impl Clone for PhpBinaryOperator
Source§fn clone(&self) -> PhpBinaryOperator
fn clone(&self) -> PhpBinaryOperator
Returns a duplicate 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 PhpBinaryOperator
impl Debug for PhpBinaryOperator
Source§impl<'de> Deserialize<'de> for PhpBinaryOperator
impl<'de> Deserialize<'de> for PhpBinaryOperator
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PhpBinaryOperator
impl PartialEq for PhpBinaryOperator
Source§impl Serialize for PhpBinaryOperator
impl Serialize for PhpBinaryOperator
impl StructuralPartialEq for PhpBinaryOperator
Auto Trait Implementations§
impl Freeze for PhpBinaryOperator
impl RefUnwindSafe for PhpBinaryOperator
impl Send for PhpBinaryOperator
impl Sync for PhpBinaryOperator
impl Unpin for PhpBinaryOperator
impl UnsafeUnpin for PhpBinaryOperator
impl UnwindSafe for PhpBinaryOperator
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