Trait ext_php_rs::convert::FromZval [−][src]
pub trait FromZval<'a>: Sized {
const TYPE: DataType;
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.