Struct ext_php_rs::bindings::zend_type [−][src]
Fields
ptr: *mut c_voidtype_mask: u32Implementations
Builds an empty Zend type container.
Parameters
pass_by_ref- Whether the value should be passed by reference.is_variadic- Whether this type represents a variadic argument.
Attempts to create a zend type for a given datatype. Returns an option containing the type.
Returns None if the data type was a class object where the class name could not be converted
into a C string (i.e. contained NUL-bytes).
Parameters
type_- Data type to create zend type for.pass_by_ref- Whether the type should be passed by reference.is_variadic- Whether the type is for a variadic argument.allow_null- Whether the type should allow null to be passed in place.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for zend_type
impl UnwindSafe for zend_type
Blanket Implementations
Mutably borrows from an owned value. Read more