Trait ext_php_rs::convert::IntoZval [−][src]
pub trait IntoZval: Sized {
const TYPE: DataType;
fn set_zval(self, zv: &mut Zval, persistent: bool) -> Result<()>;
fn into_zval(self, persistent: bool) -> Result<Zval> { ... }
}
Expand description
Associated Constants
Required methods
Sets the content of a pre-existing zval. Returns a result containing nothing if setting the content was successful.
Parameters
zv
- The Zval to set the content of.persistent
- Whether the contents of the Zval will persist between requests.