#[repr(C)]
pub struct _zend_utility_functions {
Show 13 fields pub error_function: Option<unsafe extern "C" fn(type_: c_int, error_filename: *mut zend_string, error_lineno: u32, message: *mut zend_string)>, pub printf_function: Option<unsafe extern "C" fn(format: *const c_char, ...) -> usize>, pub write_function: Option<unsafe extern "C" fn(str_: *const c_char, str_length: usize) -> usize>, pub fopen_function: Option<unsafe extern "C" fn(filename: *mut zend_string, opened_path: *mut *mut zend_string) -> *mut FILE>, pub message_handler: Option<unsafe extern "C" fn(message: zend_long, data: *const c_void)>, pub get_configuration_directive: Option<unsafe extern "C" fn(name: *mut zend_string) -> *mut zval>, pub ticks_function: Option<unsafe extern "C" fn(ticks: c_int)>, pub on_timeout: Option<unsafe extern "C" fn(seconds: c_int)>, pub stream_open_function: Option<unsafe extern "C" fn(handle: *mut zend_file_handle) -> zend_result>, pub printf_to_smart_string_function: Option<unsafe extern "C" fn(buf: *mut smart_string, format: *const c_char, ap: *mut __va_list_tag)>, pub printf_to_smart_str_function: Option<unsafe extern "C" fn(buf: *mut smart_str, format: *const c_char, ap: *mut __va_list_tag)>, pub getenv_function: Option<unsafe extern "C" fn(name: *const c_char, name_len: usize) -> *mut c_char>, pub resolve_path_function: Option<unsafe extern "C" fn(filename: *mut zend_string) -> *mut zend_string>,
}

Fields§

§error_function: Option<unsafe extern "C" fn(type_: c_int, error_filename: *mut zend_string, error_lineno: u32, message: *mut zend_string)>§printf_function: Option<unsafe extern "C" fn(format: *const c_char, ...) -> usize>§write_function: Option<unsafe extern "C" fn(str_: *const c_char, str_length: usize) -> usize>§fopen_function: Option<unsafe extern "C" fn(filename: *mut zend_string, opened_path: *mut *mut zend_string) -> *mut FILE>§message_handler: Option<unsafe extern "C" fn(message: zend_long, data: *const c_void)>§get_configuration_directive: Option<unsafe extern "C" fn(name: *mut zend_string) -> *mut zval>§ticks_function: Option<unsafe extern "C" fn(ticks: c_int)>§on_timeout: Option<unsafe extern "C" fn(seconds: c_int)>§stream_open_function: Option<unsafe extern "C" fn(handle: *mut zend_file_handle) -> zend_result>§printf_to_smart_string_function: Option<unsafe extern "C" fn(buf: *mut smart_string, format: *const c_char, ap: *mut __va_list_tag)>§printf_to_smart_str_function: Option<unsafe extern "C" fn(buf: *mut smart_str, format: *const c_char, ap: *mut __va_list_tag)>§getenv_function: Option<unsafe extern "C" fn(name: *const c_char, name_len: usize) -> *mut c_char>§resolve_path_function: Option<unsafe extern "C" fn(filename: *mut zend_string) -> *mut zend_string>

Trait Implementations§

source§

impl Clone for _zend_utility_functions

source§

fn clone(&self) -> _zend_utility_functions

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for _zend_utility_functions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for _zend_utility_functions

source§

fn default() -> _zend_utility_functions

Returns the “default value” for a type. Read more
source§

impl Copy for _zend_utility_functions

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.