#[repr(C)]pub struct regexp {Show 32 fields
pub xmg_stash: *mut hv,
pub xmg_u: _xmgu,
pub xpv_cur: usize,
pub xpv_len_u: regexp__bindgen_ty_1,
pub engine: *const regexp_engine,
pub mother_re: *mut p5rx,
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: usize,
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 i8,
pub lastcloseparen: u32,
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub subbeg: *mut i8,
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: usize§xpv_len_u: regexp__bindgen_ty_1§engine: *const regexp_engine§mother_re: *mut p5rx§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: usize§substrs: *mut reg_substr_data§pprivate: *mut c_void§intflags: u32§lastparen: u32§offs: *mut regexp_paren_pair§recurse_locinput: *mut *mut i8§lastcloseparen: u32§_bitfield_align_1: [u16; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§subbeg: *mut i8§saved_copy: *mut sv§sublen: isize§suboffset: isize§subcoffset: isize§qr_anoncv: *mut cvImplementations§
Source§impl regexp
impl regexp
pub fn pre_prefix(&self) -> u32
pub fn set_pre_prefix(&mut self, val: u32)
pub unsafe fn pre_prefix_raw(this: *const regexp) -> u32
pub unsafe fn set_pre_prefix_raw(this: *mut regexp, val: u32)
pub fn compflags(&self) -> u32
pub fn set_compflags(&mut self, val: u32)
pub unsafe fn compflags_raw(this: *const regexp) -> u32
pub unsafe fn set_compflags_raw(this: *mut regexp, 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 UnsafeUnpin 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