#[repr(C)]
pub struct my_collation_handler_st {
Show 16 fields pub init: Option<unsafe extern "C" fn(arg1: *mut charset_info_st, arg2: *mut MY_CHARSET_LOADER) -> my_bool>, pub strnncoll: Option<unsafe extern "C" fn(arg1: *const charset_info_st, arg2: *const uchar, arg3: usize, arg4: *const uchar, arg5: usize, arg6: my_bool) -> c_int>, pub strnncollsp: Option<unsafe extern "C" fn(arg1: *const charset_info_st, arg2: *const uchar, arg3: usize, arg4: *const uchar, arg5: usize) -> c_int>, pub strnncollsp_nchars: Option<unsafe extern "C" fn(arg1: *const charset_info_st, str1: *const uchar, len1: usize, str2: *const uchar, len2: usize, nchars: usize, flags: uint) -> c_int>, pub strnxfrm: Option<unsafe extern "C" fn(arg1: *const charset_info_st, dst: *mut uchar, dstlen: usize, nweights: uint, src: *const uchar, srclen: usize, flags: uint) -> usize>, pub strnxfrmlen: Option<unsafe extern "C" fn(arg1: *const charset_info_st, arg2: usize) -> usize>, pub like_range: Option<unsafe extern "C" fn(arg1: *const charset_info_st, s: *const c_char, s_length: usize, w_prefix: pchar, w_one: pchar, w_many: pchar, res_length: usize, min_str: *mut c_char, max_str: *mut c_char, min_len: *mut usize, max_len: *mut usize) -> my_bool>, pub wildcmp: Option<unsafe extern "C" fn(arg1: *const charset_info_st, str_: *const c_char, str_end: *const c_char, wildstr: *const c_char, wildend: *const c_char, escape: c_int, w_one: c_int, w_many: c_int) -> c_int>, pub strcasecmp: Option<unsafe extern "C" fn(arg1: *const charset_info_st, arg2: *const c_char, arg3: *const c_char) -> c_int>, pub instr: Option<unsafe extern "C" fn(arg1: *const charset_info_st, b: *const c_char, b_length: usize, s: *const c_char, s_length: usize, match_: *mut my_match_t, nmatch: uint) -> uint>, pub hash_sort: Option<unsafe extern "C" fn(cs: *const charset_info_st, key: *const uchar, len: usize, nr1: *mut ulong, nr2: *mut ulong)>, pub propagate: Option<unsafe extern "C" fn(cs: *const charset_info_st, str_: *const uchar, len: usize) -> my_bool>, pub min_str: Option<unsafe extern "C" fn(cs: *const charset_info_st, dst: *mut uchar, dstlen: usize, nchars: usize) -> usize>, pub max_str: Option<unsafe extern "C" fn(cs: *const charset_info_st, dst: *mut uchar, dstlen: usize, nchars: usize) -> usize>, pub get_id: Option<unsafe extern "C" fn(cs: *const charset_info_st, type_: my_collation_id_type_t) -> uint>, pub get_collation_name: Option<unsafe extern "C" fn(cs: *const charset_info_st, mode: my_collation_name_mode_t) -> LEX_CSTRING>,
}

Fields§

§init: Option<unsafe extern "C" fn(arg1: *mut charset_info_st, arg2: *mut MY_CHARSET_LOADER) -> my_bool>§strnncoll: Option<unsafe extern "C" fn(arg1: *const charset_info_st, arg2: *const uchar, arg3: usize, arg4: *const uchar, arg5: usize, arg6: my_bool) -> c_int>§strnncollsp: Option<unsafe extern "C" fn(arg1: *const charset_info_st, arg2: *const uchar, arg3: usize, arg4: *const uchar, arg5: usize) -> c_int>§strnncollsp_nchars: Option<unsafe extern "C" fn(arg1: *const charset_info_st, str1: *const uchar, len1: usize, str2: *const uchar, len2: usize, nchars: usize, flags: uint) -> c_int>§strnxfrm: Option<unsafe extern "C" fn(arg1: *const charset_info_st, dst: *mut uchar, dstlen: usize, nweights: uint, src: *const uchar, srclen: usize, flags: uint) -> usize>§strnxfrmlen: Option<unsafe extern "C" fn(arg1: *const charset_info_st, arg2: usize) -> usize>§like_range: Option<unsafe extern "C" fn(arg1: *const charset_info_st, s: *const c_char, s_length: usize, w_prefix: pchar, w_one: pchar, w_many: pchar, res_length: usize, min_str: *mut c_char, max_str: *mut c_char, min_len: *mut usize, max_len: *mut usize) -> my_bool>§wildcmp: Option<unsafe extern "C" fn(arg1: *const charset_info_st, str_: *const c_char, str_end: *const c_char, wildstr: *const c_char, wildend: *const c_char, escape: c_int, w_one: c_int, w_many: c_int) -> c_int>§strcasecmp: Option<unsafe extern "C" fn(arg1: *const charset_info_st, arg2: *const c_char, arg3: *const c_char) -> c_int>§instr: Option<unsafe extern "C" fn(arg1: *const charset_info_st, b: *const c_char, b_length: usize, s: *const c_char, s_length: usize, match_: *mut my_match_t, nmatch: uint) -> uint>§hash_sort: Option<unsafe extern "C" fn(cs: *const charset_info_st, key: *const uchar, len: usize, nr1: *mut ulong, nr2: *mut ulong)>§propagate: Option<unsafe extern "C" fn(cs: *const charset_info_st, str_: *const uchar, len: usize) -> my_bool>§min_str: Option<unsafe extern "C" fn(cs: *const charset_info_st, dst: *mut uchar, dstlen: usize, nchars: usize) -> usize>§max_str: Option<unsafe extern "C" fn(cs: *const charset_info_st, dst: *mut uchar, dstlen: usize, nchars: usize) -> usize>§get_id: Option<unsafe extern "C" fn(cs: *const charset_info_st, type_: my_collation_id_type_t) -> uint>§get_collation_name: Option<unsafe extern "C" fn(cs: *const charset_info_st, mode: my_collation_name_mode_t) -> LEX_CSTRING>

Trait Implementations§

source§

impl Debug for my_collation_handler_st

source§

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

Formats the value using the given formatter. Read more

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, 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.