#[repr(C)]
pub struct _zend_utility_functions {
Show 13 fields pub error_function: Option<unsafe extern "C" fn(type_: c_int, error_filename: *const c_char, error_lineno: u32, format: *const c_char, args: *mut __va_list_tag)>, 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: *const c_char, 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(filename: *const c_char, handle: *mut zend_file_handle) -> c_int>, 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: *mut c_char, name_len: usize) -> *mut c_char>, pub resolve_path_function: Option<unsafe extern "C" fn(filename: *const c_char, filename_len: usize) -> *mut zend_string>,
}

Fields§

§error_function: Option<unsafe extern "C" fn(type_: c_int, error_filename: *const c_char, error_lineno: u32, format: *const c_char, args: *mut __va_list_tag)>§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: *const c_char, 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(filename: *const c_char, handle: *mut zend_file_handle) -> c_int>§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: *mut c_char, name_len: usize) -> *mut c_char>§resolve_path_function: Option<unsafe extern "C" fn(filename: *const c_char, filename_len: usize) -> *mut zend_string>

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

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

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.