pub enum PhpLiteralKind {
String,
Integer,
Float,
Boolean,
Null,
Array,
Heredoc,
Nowdoc,
}Expand description
PHP literal category metadata.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PhpLiteralKind
impl Clone for PhpLiteralKind
Source§fn clone(&self) -> PhpLiteralKind
fn clone(&self) -> PhpLiteralKind
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 PhpLiteralKind
impl Debug for PhpLiteralKind
Source§impl Hash for PhpLiteralKind
impl Hash for PhpLiteralKind
Source§impl Ord for PhpLiteralKind
impl Ord for PhpLiteralKind
Source§fn cmp(&self, other: &PhpLiteralKind) -> Ordering
fn cmp(&self, other: &PhpLiteralKind) -> 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 PhpLiteralKind
impl PartialEq for PhpLiteralKind
Source§fn eq(&self, other: &PhpLiteralKind) -> bool
fn eq(&self, other: &PhpLiteralKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PhpLiteralKind
impl PartialOrd for PhpLiteralKind
impl Copy for PhpLiteralKind
impl Eq for PhpLiteralKind
impl StructuralPartialEq for PhpLiteralKind
Auto Trait Implementations§
impl Freeze for PhpLiteralKind
impl RefUnwindSafe for PhpLiteralKind
impl Send for PhpLiteralKind
impl Sync for PhpLiteralKind
impl Unpin for PhpLiteralKind
impl UnsafeUnpin for PhpLiteralKind
impl UnwindSafe for PhpLiteralKind
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