Trait ext_php_rs::convert::FromZendObjectMut [−][src]
pub trait FromZendObjectMut<'a>: Sized {
fn from_zend_object_mut(obj: &'a mut ZendObject) -> Result<Self>;
}
Expand description
Implemented on types which can be extracted from a mutable zend object.
If Self
does not require the object to be mutable, it should implement
FromZendObject
instead, as this trait is generically implemented for
any types that also implement FromZendObject
.
Required methods
fn from_zend_object_mut(obj: &'a mut ZendObject) -> Result<Self>
fn from_zend_object_mut(obj: &'a mut ZendObject) -> Result<Self>
Extracts Self
from the source ZendObject
.