#[repr(C)]pub struct regexp {Show 32 fields
pub xmg_stash: *mut HV,
pub xmg_u: _xmgu,
pub xpv_cur: STRLEN,
pub xpv_len_u: regexp__bindgen_ty_1,
pub engine: *const regexp_engine,
pub mother_re: *mut REGEXP,
pub paren_names: *mut HV,
pub nparens: U32,
pub logical_nparens: U32,
pub logical_to_parno: *mut I32,
pub parno_to_logical: *mut I32,
pub parno_to_logical_next: *mut I32,
pub extflags: U32,
pub maxlen: isize,
pub minlen: isize,
pub minlenret: isize,
pub gofs: STRLEN,
pub substrs: *mut reg_substr_data,
pub pprivate: *mut c_void,
pub intflags: U32,
pub lastparen: U32,
pub offs: *mut regexp_paren_pair,
pub recurse_locinput: *mut *mut c_char,
pub lastcloseparen: U32,
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub subbeg: *mut c_char,
pub saved_copy: *mut SV,
pub sublen: isize,
pub suboffset: isize,
pub subcoffset: isize,
pub qr_anoncv: *mut CV,
}
Fields§
§xmg_stash: *mut HV
§xmg_u: _xmgu
§xpv_cur: STRLEN
§xpv_len_u: regexp__bindgen_ty_1
§engine: *const regexp_engine
§mother_re: *mut REGEXP
§paren_names: *mut HV
§nparens: U32
§logical_nparens: U32
§logical_to_parno: *mut I32
§parno_to_logical: *mut I32
§parno_to_logical_next: *mut I32
§extflags: U32
§maxlen: isize
§minlen: isize
§minlenret: isize
§gofs: STRLEN
§substrs: *mut reg_substr_data
§pprivate: *mut c_void
§intflags: U32
§lastparen: U32
§offs: *mut regexp_paren_pair
§recurse_locinput: *mut *mut c_char
§lastcloseparen: U32
§_bitfield_align_1: [u16; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>
§subbeg: *mut c_char
§saved_copy: *mut SV
§sublen: isize
§suboffset: isize
§subcoffset: isize
§qr_anoncv: *mut CV
Implementations§
Source§impl regexp
impl regexp
pub fn pre_prefix(&self) -> U32
pub fn set_pre_prefix(&mut self, val: U32)
pub fn compflags(&self) -> U32
pub fn set_compflags(&mut self, val: U32)
pub fn new_bitfield_1( pre_prefix: U32, compflags: U32, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for regexp
impl RefUnwindSafe for regexp
impl !Send for regexp
impl !Sync for regexp
impl Unpin for regexp
impl UnwindSafe for regexp
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