Expand description
Traits used to convert between Zend/PHP and Rust types.
Traitsยง
- From
Zend Object FromZendObject
is implemented by types which can be extracted from a Zend object.- From
Zend Object Mut - Implemented on types which can be extracted from a mutable zend object.
- From
Zval - Allows zvals to be converted into Rust types in a fallible way. Reciprocal
of the
IntoZval
trait. - From
Zval Mut - Allows mutable zvals to be converted into Rust types in a fallible way.
- Into
Zend Object - Implemented on types which can be converted into a Zend object. It is up to the implementation to determine the type of object which is produced.
- Into
Zval - Provides implementations for converting Rust primitive types into PHP zvals.
Alternative to the built-in Rust
From
andTryFrom
implementations, allowing the caller to specify whether the Zval contents will persist between requests. - Into
Zval Dyn - An object-safe version of the
IntoZval
trait.