pub trait DataTypeExt {
// Required methods
fn as_u32(&self) -> u32;
fn from_u32(value: u32) -> Self;
}Expand description
Conversions between DataType and the Zend IS_* type constants.
The constants depend on the PHP version and come from bindgen, so they
cannot live next to DataType in ext-php-rs-introspection.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".