pub enum PhpTypeKind {
Scalar,
Nullable,
Union,
Intersection,
Mixed,
Never,
Void,
Callable,
Iterable,
Object,
ClassLike,
}Expand description
Broad PHP type kind metadata.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PhpTypeKind
impl Clone for PhpTypeKind
Source§fn clone(&self) -> PhpTypeKind
fn clone(&self) -> PhpTypeKind
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 PhpTypeKind
impl Debug for PhpTypeKind
Source§impl Display for PhpTypeKind
impl Display for PhpTypeKind
Source§impl Hash for PhpTypeKind
impl Hash for PhpTypeKind
Source§impl Ord for PhpTypeKind
impl Ord for PhpTypeKind
Source§fn cmp(&self, other: &PhpTypeKind) -> Ordering
fn cmp(&self, other: &PhpTypeKind) -> 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 PhpTypeKind
impl PartialEq for PhpTypeKind
Source§fn eq(&self, other: &PhpTypeKind) -> bool
fn eq(&self, other: &PhpTypeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PhpTypeKind
impl PartialOrd for PhpTypeKind
impl Copy for PhpTypeKind
impl Eq for PhpTypeKind
impl StructuralPartialEq for PhpTypeKind
Auto Trait Implementations§
impl Freeze for PhpTypeKind
impl RefUnwindSafe for PhpTypeKind
impl Send for PhpTypeKind
impl Sync for PhpTypeKind
impl Unpin for PhpTypeKind
impl UnsafeUnpin for PhpTypeKind
impl UnwindSafe for PhpTypeKind
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