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_ucharused: c_uintalloc: c_uintnum_mem: c_intnum_repeat: c_intnum_null_check: c_intnum_comb_exp_check: c_intnum_call: c_intcapture_history: c_uintbt_mem_start: c_uintbt_mem_end: c_uintstack_pop_level: c_intrepeat_range_alloc: c_intoptions: OnigOptionTyperepeat_range: *mut OnigRepeatRangeenc: OnigEncodingsyntax: *const OnigSyntaxTypename_table: *mut c_voidcase_fold_flag: OnigCaseFoldTypeoptimize: c_intthreshold_len: c_intanchor: c_intanchor_dmin: OnigDistanceanchor_dmax: OnigDistancesub_anchor: c_intexact: *mut c_ucharexact_end: *mut c_ucharmap: [c_uchar; 256]int_map: *mut c_intint_map_backward: *mut c_intdmin: OnigDistancedmax: OnigDistancechain: *mut re_pattern_bufferTrait Implementations
sourceimpl Clone for re_pattern_buffer
impl Clone for re_pattern_buffer
sourcefn clone(&self) -> re_pattern_buffer
fn clone(&self) -> re_pattern_buffer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for re_pattern_buffer
impl Debug for re_pattern_buffer
sourceimpl PartialEq<re_pattern_buffer> for re_pattern_buffer
impl PartialEq<re_pattern_buffer> for re_pattern_buffer
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &re_pattern_buffer) -> bool
fn ne(&self, other: &re_pattern_buffer) -> bool
This method tests for !=.
impl Copy for re_pattern_buffer
impl Eq for re_pattern_buffer
impl StructuralEq for re_pattern_buffer
impl StructuralPartialEq for re_pattern_buffer
Auto Trait Implementations
impl RefUnwindSafe for re_pattern_buffer
impl !Send for re_pattern_buffer
impl !Sync for re_pattern_buffer
impl Unpin for re_pattern_buffer
impl UnwindSafe for re_pattern_buffer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more