pub enum PhpOperator {
Show 13 variants
Assign,
Plus,
Minus,
Multiply,
Divide,
Modulo,
Equal,
Identical,
NotEqual,
NotIdentical,
Spaceship,
NullCoalesce,
Elvis,
}Expand description
PHP operator label metadata.
Variants§
Assign
Plus
Minus
Multiply
Divide
Modulo
Equal
Identical
NotEqual
NotIdentical
Spaceship
NullCoalesce
Elvis
Implementations§
Trait Implementations§
Source§impl Clone for PhpOperator
impl Clone for PhpOperator
Source§fn clone(&self) -> PhpOperator
fn clone(&self) -> PhpOperator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PhpOperator
impl Debug for PhpOperator
Source§impl Display for PhpOperator
impl Display for PhpOperator
Source§impl Hash for PhpOperator
impl Hash for PhpOperator
Source§impl Ord for PhpOperator
impl Ord for PhpOperator
Source§fn cmp(&self, other: &PhpOperator) -> Ordering
fn cmp(&self, other: &PhpOperator) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PhpOperator
impl PartialEq for PhpOperator
Source§fn eq(&self, other: &PhpOperator) -> bool
fn eq(&self, other: &PhpOperator) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PhpOperator
impl PartialOrd for PhpOperator
impl Copy for PhpOperator
impl Eq for PhpOperator
impl StructuralPartialEq for PhpOperator
Auto Trait Implementations§
impl Freeze for PhpOperator
impl RefUnwindSafe for PhpOperator
impl Send for PhpOperator
impl Sync for PhpOperator
impl Unpin for PhpOperator
impl UnsafeUnpin for PhpOperator
impl UnwindSafe for PhpOperator
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