#[repr(C)]pub struct ma_charset_info_st {
pub nr: c_uint,
pub state: c_uint,
pub csname: *const c_char,
pub name: *const c_char,
pub dir: *const c_char,
pub codepage: c_uint,
pub encoding: *const c_char,
pub char_minlen: c_uint,
pub char_maxlen: c_uint,
pub mb_charlen: Option<unsafe extern "C" fn(c: c_uint) -> c_uint>,
pub mb_valid: Option<unsafe extern "C" fn(start: *const c_char, end: *const c_char) -> c_uint>,
}
Fields§
§nr: c_uint
§state: c_uint
§csname: *const c_char
§name: *const c_char
§dir: *const c_char
§codepage: c_uint
§encoding: *const c_char
§char_minlen: c_uint
§char_maxlen: c_uint
§mb_charlen: Option<unsafe extern "C" fn(c: c_uint) -> c_uint>
§mb_valid: Option<unsafe extern "C" fn(start: *const c_char, end: *const c_char) -> c_uint>
Trait Implementations§
Source§impl Clone for ma_charset_info_st
impl Clone for ma_charset_info_st
Source§fn clone(&self) -> ma_charset_info_st
fn clone(&self) -> ma_charset_info_st
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ma_charset_info_st
impl Debug for ma_charset_info_st
impl Copy for ma_charset_info_st
Auto Trait Implementations§
impl Freeze for ma_charset_info_st
impl RefUnwindSafe for ma_charset_info_st
impl !Send for ma_charset_info_st
impl !Sync for ma_charset_info_st
impl Unpin for ma_charset_info_st
impl UnwindSafe for ma_charset_info_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