pub type zend_multibyte_functions = _zend_multibyte_functions;

Aliased Type§

struct zend_multibyte_functions {
    pub provider_name: *const i8,
    pub encoding_fetcher: Option<unsafe extern "C" fn(_: *const i8) -> *const _zend_encoding>,
    pub encoding_name_getter: Option<unsafe extern "C" fn(_: *const _zend_encoding) -> *const i8>,
    pub lexer_compatibility_checker: Option<unsafe extern "C" fn(_: *const _zend_encoding) -> bool>,
    pub encoding_detector: Option<unsafe extern "C" fn(_: *const u8, _: usize, _: *mut *const _zend_encoding, _: usize) -> *const _zend_encoding>,
    pub encoding_converter: Option<unsafe extern "C" fn(_: *mut *mut u8, _: *mut usize, _: *const u8, _: usize, _: *const _zend_encoding, _: *const _zend_encoding) -> usize>,
    pub encoding_list_parser: Option<unsafe extern "C" fn(_: *const i8, _: usize, _: *mut *mut *const _zend_encoding, _: *mut usize, _: bool) -> i32>,
    pub internal_encoding_getter: Option<unsafe extern "C" fn() -> *const _zend_encoding>,
    pub internal_encoding_setter: Option<unsafe extern "C" fn(_: *const _zend_encoding) -> i32>,
}

Fields§

§provider_name: *const i8§encoding_fetcher: Option<unsafe extern "C" fn(_: *const i8) -> *const _zend_encoding>§encoding_name_getter: Option<unsafe extern "C" fn(_: *const _zend_encoding) -> *const i8>§lexer_compatibility_checker: Option<unsafe extern "C" fn(_: *const _zend_encoding) -> bool>§encoding_detector: Option<unsafe extern "C" fn(_: *const u8, _: usize, _: *mut *const _zend_encoding, _: usize) -> *const _zend_encoding>§encoding_converter: Option<unsafe extern "C" fn(_: *mut *mut u8, _: *mut usize, _: *const u8, _: usize, _: *const _zend_encoding, _: *const _zend_encoding) -> usize>§encoding_list_parser: Option<unsafe extern "C" fn(_: *const i8, _: usize, _: *mut *mut *const _zend_encoding, _: *mut usize, _: bool) -> i32>§internal_encoding_getter: Option<unsafe extern "C" fn() -> *const _zend_encoding>§internal_encoding_setter: Option<unsafe extern "C" fn(_: *const _zend_encoding) -> i32>

Trait Implementations

source§

impl Copy for _zend_multibyte_functions

source§

impl Clone for _zend_multibyte_functions

source§

fn clone(&self) -> _zend_multibyte_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_multibyte_functions

source§

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

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

impl Default for _zend_multibyte_functions

source§

fn default() -> Self

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