#[repr(C)]
pub union _zend_value {
Show 14 fields pub lval: zend_long, pub dval: f64, pub counted: *mut zend_refcounted, pub str_: *mut zend_string, pub arr: *mut zend_array, pub obj: *mut zend_object, pub res: *mut zend_resource, pub ref_: *mut zend_reference, pub ast: *mut zend_ast_ref, pub zv: *mut zval, pub ptr: *mut c_void, pub ce: *mut zend_class_entry, pub func: *mut zend_function, pub ww: _zend_value__bindgen_ty_1,
}

Fields

lval: zend_longdval: f64counted: *mut zend_refcountedstr_: *mut zend_stringarr: *mut zend_arrayobj: *mut zend_objectres: *mut zend_resourceref_: *mut zend_referenceast: *mut zend_ast_refzv: *mut zvalptr: *mut c_voidce: *mut zend_class_entryfunc: *mut zend_functionww: _zend_value__bindgen_ty_1

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.