Trait ext_php_rs::convert::FromZval
source · pub trait FromZval<'a>: Sized {
const TYPE: DataType;
// Required method
fn from_zval(zval: &'a Zval) -> Option<Self>;
}
Expand description
Allows zvals to be converted into Rust types in a fallible way. Reciprocal
of the IntoZval
trait.
Required Associated Constants§
Required Methods§
Object Safety§
This trait is not object safe.