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