Struct ext_php_rs::ffi::_zend_object_iterator_funcs
source · [−]#[repr(C)]pub struct _zend_object_iterator_funcs {
pub dtor: Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
pub valid: Option<unsafe extern "C" fn(iter: *mut zend_object_iterator) -> c_int>,
pub get_current_data: Option<unsafe extern "C" fn(iter: *mut zend_object_iterator) -> *mut zval>,
pub get_current_key: Option<unsafe extern "C" fn(iter: *mut zend_object_iterator, key: *mut zval)>,
pub move_forward: Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
pub rewind: Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
pub invalidate_current: Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
pub get_gc: Option<unsafe extern "C" fn(iter: *mut zend_object_iterator, table: *mut *mut zval, n: *mut c_int) -> *mut HashTable>,
}
Fields
dtor: Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>
valid: Option<unsafe extern "C" fn(iter: *mut zend_object_iterator) -> c_int>
get_current_data: Option<unsafe extern "C" fn(iter: *mut zend_object_iterator) -> *mut zval>
get_current_key: Option<unsafe extern "C" fn(iter: *mut zend_object_iterator, key: *mut zval)>
move_forward: Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>
rewind: Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>
invalidate_current: Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>
get_gc: Option<unsafe extern "C" fn(iter: *mut zend_object_iterator, table: *mut *mut zval, n: *mut c_int) -> *mut HashTable>
Trait Implementations
sourceimpl Clone for _zend_object_iterator_funcs
impl Clone for _zend_object_iterator_funcs
sourcefn clone(&self) -> _zend_object_iterator_funcs
fn clone(&self) -> _zend_object_iterator_funcs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for _zend_object_iterator_funcs
impl Debug for _zend_object_iterator_funcs
impl Copy for _zend_object_iterator_funcs
Auto Trait Implementations
impl RefUnwindSafe for _zend_object_iterator_funcs
impl Send for _zend_object_iterator_funcs
impl Sync for _zend_object_iterator_funcs
impl Unpin for _zend_object_iterator_funcs
impl UnwindSafe for _zend_object_iterator_funcs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more