Enum ext_php_rs::flags::DataType
source · #[repr(C, u8)]pub enum DataType {
}
Expand description
Valid data types for PHP.
Variants§
Undef
Null
False
True
Long
Double
String
Array
Iterable
Object(Option<&'static str>)
Resource
Reference
Callable
ConstantExpression
Void
Mixed
Bool
Ptr
Indirect
Implementations§
Trait Implementations§
source§impl Ord for DataType
impl Ord for DataType
source§impl PartialEq for DataType
impl PartialEq for DataType
source§impl PartialOrd for DataType
impl PartialOrd for DataType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<ZvalTypeFlags> for DataType
impl TryFrom<ZvalTypeFlags> for DataType
impl Copy for DataType
impl Eq for DataType
impl StructuralEq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
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