#[repr(C, u8)]pub enum DataType {
}
Expand description
Valid data types for PHP.
Variants§
Undef
Undefined
Null
null
False
false
True
true
Long
Integer (the irony)
Double
Floating point number
String
String
Array
Array
Iterable
Iterable
Object(Option<&'static str>)
Object
Resource
Resource
Reference
Reference
Callable
Callable
ConstantExpression
Constant expression
Void
Void
Mixed
Mixed
Bool
Boolean
Ptr
Pointer
Indirect
Indirect (internal)
Implementations§
Trait Implementations§
Source§impl Ord for DataType
impl Ord for DataType
Source§impl PartialOrd for DataType
impl PartialOrd for DataType
Source§impl TryFrom<ZvalTypeFlags> for DataType
impl TryFrom<ZvalTypeFlags> for DataType
impl Copy for DataType
impl Eq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl Freeze for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
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