Struct onig_sys::OnigEncodingType [−][src]
#[repr(C)]pub struct OnigEncodingType { pub mbc_enc_len: extern "C" fn(p: *const OnigUChar) -> c_int, pub name: *const c_char, pub max_enc_len: c_int, pub min_enc_len: c_int, pub is_mbc_newline: extern "C" fn(p: *const OnigUChar, end: *const OnigUChar) -> c_int, pub mbc_to_code: extern "C" fn(p: *const OnigUChar, end: *const OnigUChar) -> OnigCodePoint, pub code_to_mbclen: extern "C" fn(code: OnigCodePoint) -> c_int, pub code_to_mbc: extern "C" fn(code: OnigCodePoint, buf: *mut OnigUChar) -> c_int, pub mbc_case_fold: extern "C" fn(flag: OnigCaseFoldType, pp: *const *const OnigUChar, end: *const OnigUChar, to: *const OnigUChar) -> c_int, pub apply_all_case_fold: extern "C" fn(flag: OnigCaseFoldType, f: OnigApplyAllCaseFoldFunc, arg: *const c_void) -> c_int, pub get_case_fold_codes_by_str: extern "C" fn(flag: OnigCaseFoldType, p: *const OnigUChar, end: *const OnigUChar) -> c_int, pub property_name_to_ctype: extern "C" fn(enc: OnigEncoding, p: *const OnigUChar, end: *const OnigUChar) -> c_int, pub is_code_ctype: extern "C" fn(code: OnigCodePoint, ctype: OnigCtype) -> c_int, pub get_ctype_code_range: extern "C" fn(ctype: OnigCtype, sb_out: *const OnigCodePoint) -> c_int, pub left_adjust_char_head: extern "C" fn(start: *const OnigUChar, p: *const OnigUChar) -> *const OnigUChar, pub is_allowed_reverse_match: extern "C" fn(p: *const OnigUChar, end: *const OnigUChar) -> c_int, pub init: extern "C" fn() -> c_int, pub is_initialised: extern "C" fn() -> c_int, }
Fields
mbc_enc_len: extern "C" fn(p: *const OnigUChar) -> c_int
name: *const c_char
max_enc_len: c_int
min_enc_len: c_int
is_mbc_newline: extern "C" fn(p: *const OnigUChar, end: *const OnigUChar) -> c_int
mbc_to_code: extern "C" fn(p: *const OnigUChar, end: *const OnigUChar) -> OnigCodePoint
code_to_mbclen: extern "C" fn(code: OnigCodePoint) -> c_int
code_to_mbc: extern "C" fn(code: OnigCodePoint, buf: *mut OnigUChar) -> c_int
mbc_case_fold: extern "C" fn(flag: OnigCaseFoldType, pp: *const *const OnigUChar, end: *const OnigUChar, to: *const OnigUChar) -> c_int
apply_all_case_fold: extern "C" fn(flag: OnigCaseFoldType, f: OnigApplyAllCaseFoldFunc, arg: *const c_void) -> c_int
get_case_fold_codes_by_str: extern "C" fn(flag: OnigCaseFoldType, p: *const OnigUChar, end: *const OnigUChar) -> c_int
property_name_to_ctype: extern "C" fn(enc: OnigEncoding, p: *const OnigUChar, end: *const OnigUChar) -> c_int
is_code_ctype: extern "C" fn(code: OnigCodePoint, ctype: OnigCtype) -> c_int
get_ctype_code_range: extern "C" fn(ctype: OnigCtype, sb_out: *const OnigCodePoint) -> c_int
left_adjust_char_head: extern "C" fn(start: *const OnigUChar, p: *const OnigUChar) -> *const OnigUChar
is_allowed_reverse_match: extern "C" fn(p: *const OnigUChar, end: *const OnigUChar) -> c_int
init: extern "C" fn() -> c_int
is_initialised: extern "C" fn() -> c_int
Auto Trait Implementations
impl !Send for OnigEncodingType
impl !Send for OnigEncodingType
impl !Sync for OnigEncodingType
impl !Sync for OnigEncodingType