Struct ext_php_rs::ffi::_zend_ini_entry_def
source · #[repr(C)]pub struct _zend_ini_entry_def {
pub name: *const c_char,
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: *const c_char,
pub displayer: Option<unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: c_int)>,
pub value_length: u32,
pub name_length: u16,
pub modifiable: u8,
}
Fields§
§name: *const c_char
§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: *const c_char
§displayer: Option<unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: c_int)>
§value_length: u32
§name_length: u16
§modifiable: u8
Implementations§
source§impl _zend_ini_entry_def
impl _zend_ini_entry_def
sourcepub fn new(
name: String,
default_value: String,
permission: IniEntryPermission
) -> Self
pub fn new( name: String, default_value: String, permission: IniEntryPermission ) -> Self
Returns an empty ini entry, signifying the end of a ini list.
sourcepub fn into_raw(self) -> *mut Self
pub fn into_raw(self) -> *mut Self
Converts the ini entry into a raw and pointer, releasing it to the C world.
pub fn register(entries: Vec<Self>, module_number: i32)
Trait Implementations§
source§impl Clone for _zend_ini_entry_def
impl Clone for _zend_ini_entry_def
source§fn clone(&self) -> _zend_ini_entry_def
fn clone(&self) -> _zend_ini_entry_def
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for _zend_ini_entry_def
impl Debug for _zend_ini_entry_def
impl Copy for _zend_ini_entry_def
Auto Trait Implementations§
impl RefUnwindSafe for _zend_ini_entry_def
impl !Send for _zend_ini_entry_def
impl !Sync for _zend_ini_entry_def
impl Unpin for _zend_ini_entry_def
impl UnwindSafe for _zend_ini_entry_def
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more