Struct onig_sys::OnigEncodingType [] [src]

pub struct OnigEncodingType {
    pub mbc_enc_len: extern 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 fn(p: *const OnigUChar, end: *const OnigUChar) -> c_int,
    pub mbc_to_code: extern fn(p: *const OnigUChar, end: *const OnigUChar) -> OnigCodePoint,
    pub code_to_mbclen: extern fn(code: OnigCodePoint) -> c_int,
    pub code_to_mbc: extern fn(code: OnigCodePoint, buf: *mut OnigUChar) -> c_int,
    pub mbc_case_fold: extern fn(flag: OnigCaseFoldType, pp: *const *const OnigUChar, end: *const OnigUChar, to: *const OnigUChar) -> c_int,
    pub apply_all_case_fold: extern fn(flag: OnigCaseFoldType, f: OnigApplyAllCaseFoldFunc, arg: *const c_void) -> c_int,
    pub get_case_fold_codes_by_str: extern fn(flag: OnigCaseFoldType, p: *const OnigUChar, end: *const OnigUChar, ...) -> c_int,
    pub property_name_to_ctype: extern fn(enc: OnigEncoding, p: *const OnigUChar, end: *const OnigUChar) -> c_int,
    pub is_code_ctype: extern fn(code: OnigCodePoint, ctype: OnigCtype) -> c_int,
    pub get_ctype_code_range: extern fn(ctype: OnigCtype, sb_out: *const OnigCodePoint, ...) -> c_int,
    pub left_adjust_char_head: extern fn(start: *const OnigUChar, p: *const OnigUChar) -> *const OnigUChar,
    pub is_allowed_reverse_match: extern fn(p: *const OnigUChar, end: *const OnigUChar) -> c_int,
}

Fields

mbc_enc_len: extern fn(p: *const OnigUChar) -> c_int name: *const c_char max_enc_len: c_int min_enc_len: c_int is_mbc_newline: extern fn(p: *const OnigUChar, end: *const OnigUChar) -> c_int mbc_to_code: extern fn(p: *const OnigUChar, end: *const OnigUChar) -> OnigCodePoint code_to_mbclen: extern fn(code: OnigCodePoint) -> c_int code_to_mbc: extern fn(code: OnigCodePoint, buf: *mut OnigUChar) -> c_int mbc_case_fold: extern fn(flag: OnigCaseFoldType, pp: *const *const OnigUChar, end: *const OnigUChar, to: *const OnigUChar) -> c_int apply_all_case_fold: extern fn(flag: OnigCaseFoldType, f: OnigApplyAllCaseFoldFunc, arg: *const c_void) -> c_int get_case_fold_codes_by_str: extern fn(flag: OnigCaseFoldType, p: *const OnigUChar, end: *const OnigUChar, ...) -> c_int property_name_to_ctype: extern fn(enc: OnigEncoding, p: *const OnigUChar, end: *const OnigUChar) -> c_int is_code_ctype: extern fn(code: OnigCodePoint, ctype: OnigCtype) -> c_int get_ctype_code_range: extern fn(ctype: OnigCtype, sb_out: *const OnigCodePoint, ...) -> c_int left_adjust_char_head: extern fn(start: *const OnigUChar, p: *const OnigUChar) -> *const OnigUChar is_allowed_reverse_match: extern fn(p: *const OnigUChar, end: *const OnigUChar) -> c_int