Struct rb_sys::bindings::re_pattern_buffer
source · #[repr(C)]pub struct re_pattern_buffer {Show 33 fields
pub p: *mut c_uchar,
pub used: c_uint,
pub alloc: c_uint,
pub num_mem: c_int,
pub num_repeat: c_int,
pub num_null_check: c_int,
pub num_comb_exp_check: c_int,
pub num_call: c_int,
pub capture_history: c_uint,
pub bt_mem_start: c_uint,
pub bt_mem_end: c_uint,
pub stack_pop_level: c_int,
pub repeat_range_alloc: c_int,
pub options: OnigOptionType,
pub repeat_range: *mut OnigRepeatRange,
pub enc: OnigEncoding,
pub syntax: *const OnigSyntaxType,
pub name_table: *mut c_void,
pub case_fold_flag: OnigCaseFoldType,
pub optimize: c_int,
pub threshold_len: c_int,
pub anchor: c_int,
pub anchor_dmin: OnigDistance,
pub anchor_dmax: OnigDistance,
pub sub_anchor: c_int,
pub exact: *mut c_uchar,
pub exact_end: *mut c_uchar,
pub map: [c_uchar; 256],
pub int_map: *mut c_int,
pub int_map_backward: *mut c_int,
pub dmin: OnigDistance,
pub dmax: OnigDistance,
pub chain: *mut re_pattern_buffer,
}Fields§
§p: *mut c_uchar§used: c_uint§alloc: c_uint§num_mem: c_int§num_repeat: c_int§num_null_check: c_int§num_comb_exp_check: c_int§num_call: c_int§capture_history: c_uint§bt_mem_start: c_uint§bt_mem_end: c_uint§stack_pop_level: c_int§repeat_range_alloc: c_int§options: OnigOptionType§repeat_range: *mut OnigRepeatRange§enc: OnigEncoding§syntax: *const OnigSyntaxType§name_table: *mut c_void§case_fold_flag: OnigCaseFoldType§optimize: c_int§threshold_len: c_int§anchor: c_int§anchor_dmin: OnigDistance§anchor_dmax: OnigDistance§sub_anchor: c_int§exact: *mut c_uchar§exact_end: *mut c_uchar§map: [c_uchar; 256]§int_map: *mut c_int§int_map_backward: *mut c_int§dmin: OnigDistance§dmax: OnigDistance§chain: *mut re_pattern_bufferTrait Implementations§
source§impl Clone for re_pattern_buffer
impl Clone for re_pattern_buffer
source§fn clone(&self) -> re_pattern_buffer
fn clone(&self) -> re_pattern_buffer
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 re_pattern_buffer
impl Debug for re_pattern_buffer
source§impl PartialEq<re_pattern_buffer> for re_pattern_buffer
impl PartialEq<re_pattern_buffer> for re_pattern_buffer
source§fn eq(&self, other: &re_pattern_buffer) -> bool
fn eq(&self, other: &re_pattern_buffer) -> bool
This method tests for
self and other values to be equal, and is used
by ==.