Struct mariadb_sys::my_charset_loader_st
source · #[repr(C)]pub struct my_charset_loader_st {
pub error: [c_char; 128],
pub once_alloc: Option<unsafe extern "C" fn(arg1: usize) -> *mut c_void>,
pub malloc: Option<unsafe extern "C" fn(arg1: usize) -> *mut c_void>,
pub realloc: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: usize) -> *mut c_void>,
pub free: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
pub reporter: Option<unsafe extern "C" fn(arg1: Type, format: *const c_char, ...)>,
pub add_collation: Option<unsafe extern "C" fn(cs: *mut charset_info_st) -> c_int>,
}
Fields§
§error: [c_char; 128]
§once_alloc: Option<unsafe extern "C" fn(arg1: usize) -> *mut c_void>
§malloc: Option<unsafe extern "C" fn(arg1: usize) -> *mut c_void>
§realloc: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: usize) -> *mut c_void>
§free: Option<unsafe extern "C" fn(arg1: *mut c_void)>
§reporter: Option<unsafe extern "C" fn(arg1: Type, format: *const c_char, ...)>
§add_collation: Option<unsafe extern "C" fn(cs: *mut charset_info_st) -> c_int>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for my_charset_loader_st
impl Send for my_charset_loader_st
impl Sync for my_charset_loader_st
impl Unpin for my_charset_loader_st
impl UnwindSafe for my_charset_loader_st
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