Struct razor_libnvpair_sys::re_pattern_buffer
source · [−]#[repr(C)]pub struct re_pattern_buffer {
pub __buffer: *mut re_dfa_t,
pub __allocated: __re_long_size_t,
pub __used: __re_long_size_t,
pub __syntax: reg_syntax_t,
pub __fastmap: *mut c_char,
pub __translate: *mut c_uchar,
pub re_nsub: usize,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}Fields
__buffer: *mut re_dfa_t__allocated: __re_long_size_t__used: __re_long_size_t__syntax: reg_syntax_t__fastmap: *mut c_char__translate: *mut c_ucharre_nsub: usize_bitfield_align_1: [u8; 0]_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>__bindgen_padding_0: [u8; 7]Implementations
sourceimpl re_pattern_buffer
impl re_pattern_buffer
pub fn __can_be_null(&self) -> c_uint
pub fn set___can_be_null(&mut self, val: c_uint)
pub fn __regs_allocated(&self) -> c_uint
pub fn set___regs_allocated(&mut self, val: c_uint)
pub fn __fastmap_accurate(&self) -> c_uint
pub fn set___fastmap_accurate(&mut self, val: c_uint)
pub fn __no_sub(&self) -> c_uint
pub fn set___no_sub(&mut self, val: c_uint)
pub fn __not_bol(&self) -> c_uint
pub fn set___not_bol(&mut self, val: c_uint)
pub fn __not_eol(&self) -> c_uint
pub fn set___not_eol(&mut self, val: c_uint)
pub fn __newline_anchor(&self) -> c_uint
pub fn set___newline_anchor(&mut self, val: c_uint)
pub fn new_bitfield_1(
__can_be_null: c_uint,
__regs_allocated: c_uint,
__fastmap_accurate: c_uint,
__no_sub: c_uint,
__not_bol: c_uint,
__not_eol: c_uint,
__newline_anchor: c_uint
) -> __BindgenBitfieldUnit<[u8; 1]>
Trait 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
impl Copy 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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more