Struct ext_php_rs::ffi::_zend_ini_entry
source · [−]#[repr(C)]pub struct _zend_ini_entry {
pub name: *mut zend_string,
pub on_modify: Option<unsafe extern "C" fn(entry: *mut zend_ini_entry, new_value: *mut zend_string, mh_arg1: *mut c_void, mh_arg2: *mut c_void, mh_arg3: *mut c_void, stage: c_int) -> c_int>,
pub mh_arg1: *mut c_void,
pub mh_arg2: *mut c_void,
pub mh_arg3: *mut c_void,
pub value: *mut zend_string,
pub orig_value: *mut zend_string,
pub displayer: Option<unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: c_int)>,
pub module_number: c_int,
pub modifiable: u8,
pub orig_modifiable: u8,
pub modified: u8,
}
Fields
name: *mut zend_string
on_modify: Option<unsafe extern "C" fn(entry: *mut zend_ini_entry, new_value: *mut zend_string, mh_arg1: *mut c_void, mh_arg2: *mut c_void, mh_arg3: *mut c_void, stage: c_int) -> c_int>
mh_arg1: *mut c_void
mh_arg2: *mut c_void
mh_arg3: *mut c_void
value: *mut zend_string
orig_value: *mut zend_string
displayer: Option<unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: c_int)>
module_number: c_int
modifiable: u8
orig_modifiable: u8
modified: u8
Trait Implementations
sourceimpl Clone for _zend_ini_entry
impl Clone for _zend_ini_entry
sourcefn clone(&self) -> _zend_ini_entry
fn clone(&self) -> _zend_ini_entry
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_ini_entry
impl Debug for _zend_ini_entry
impl Copy for _zend_ini_entry
Auto Trait Implementations
impl RefUnwindSafe for _zend_ini_entry
impl !Send for _zend_ini_entry
impl !Sync for _zend_ini_entry
impl Unpin for _zend_ini_entry
impl UnwindSafe for _zend_ini_entry
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