Struct ext_php_rs::bindings::_zend_execute_data[][src]

#[repr(C)]
pub struct _zend_execute_data { pub opline: *const zend_op, pub call: *mut zend_execute_data, pub return_value: *mut zval, pub func: *mut zend_function, pub This: zval, pub prev_execute_data: *mut zend_execute_data, pub symbol_table: *mut zend_array, pub run_time_cache: *mut *mut c_void, pub extra_named_params: *mut zend_array, }

Fields

opline: *const zend_opcall: *mut zend_execute_datareturn_value: *mut zvalfunc: *mut zend_functionThis: zvalprev_execute_data: *mut zend_execute_datasymbol_table: *mut zend_arrayrun_time_cache: *mut *mut c_voidextra_named_params: *mut zend_array

Implementations

Attempts to retrieve a reference to the underlying class object of the Zend object.

Returns a ClassObject if the execution data contained a valid object, otherwise returns None.

Safety

The caller must guarantee that the function is called on an instance of ExecutionData that:

  1. Contains an object.
  2. The object was originally derived from T.

Attempts to retrieve the ‘this’ object, which can be used in class methods to retrieve the underlying Zend object.

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

Performs the conversion.

Performs the conversion.

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.