#[repr(C)]pub struct ngx_http_script_regex_code_t {
pub code: Option<unsafe extern "C" fn(_: *mut ngx_http_script_engine_t)>,
pub regex: *mut ngx_http_regex_t,
pub lengths: *mut ngx_array_t,
pub size: usize,
pub status: usize,
pub next: usize,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub name: ngx_str_t,
}
Fields§
§code: Option<unsafe extern "C" fn(_: *mut ngx_http_script_engine_t)>
§regex: *mut ngx_http_regex_t
§lengths: *mut ngx_array_t
§size: usize
§status: usize
§next: usize
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§name: ngx_str_t
Implementations§
Source§impl ngx_http_script_regex_code_t
impl ngx_http_script_regex_code_t
pub fn test(&self) -> u32
pub fn set_test(&mut self, val: u32)
pub unsafe fn test_raw(this: *const ngx_http_script_regex_code_t) -> u32
pub unsafe fn set_test_raw(this: *mut ngx_http_script_regex_code_t, val: u32)
pub fn negative_test(&self) -> u32
pub fn set_negative_test(&mut self, val: u32)
pub unsafe fn negative_test_raw( this: *const ngx_http_script_regex_code_t, ) -> u32
pub unsafe fn set_negative_test_raw( this: *mut ngx_http_script_regex_code_t, val: u32, )
pub fn uri(&self) -> u32
pub fn set_uri(&mut self, val: u32)
pub unsafe fn uri_raw(this: *const ngx_http_script_regex_code_t) -> u32
pub unsafe fn set_uri_raw(this: *mut ngx_http_script_regex_code_t, val: u32)
pub fn args(&self) -> u32
pub fn set_args(&mut self, val: u32)
pub unsafe fn args_raw(this: *const ngx_http_script_regex_code_t) -> u32
pub unsafe fn set_args_raw(this: *mut ngx_http_script_regex_code_t, val: u32)
pub fn add_args(&self) -> u32
pub fn set_add_args(&mut self, val: u32)
pub unsafe fn add_args_raw(this: *const ngx_http_script_regex_code_t) -> u32
pub unsafe fn set_add_args_raw( this: *mut ngx_http_script_regex_code_t, val: u32, )
pub fn redirect(&self) -> u32
pub fn set_redirect(&mut self, val: u32)
pub unsafe fn redirect_raw(this: *const ngx_http_script_regex_code_t) -> u32
pub unsafe fn set_redirect_raw( this: *mut ngx_http_script_regex_code_t, val: u32, )
pub fn break_cycle(&self) -> u32
pub fn set_break_cycle(&mut self, val: u32)
pub unsafe fn break_cycle_raw(this: *const ngx_http_script_regex_code_t) -> u32
pub unsafe fn set_break_cycle_raw( this: *mut ngx_http_script_regex_code_t, val: u32, )
pub fn new_bitfield_1( test: u32, negative_test: u32, uri: u32, args: u32, add_args: u32, redirect: u32, break_cycle: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for ngx_http_script_regex_code_t
impl Clone for ngx_http_script_regex_code_t
Source§fn clone(&self) -> ngx_http_script_regex_code_t
fn clone(&self) -> ngx_http_script_regex_code_t
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 ngx_http_script_regex_code_t
impl Debug for ngx_http_script_regex_code_t
impl Copy for ngx_http_script_regex_code_t
Auto Trait Implementations§
impl Freeze for ngx_http_script_regex_code_t
impl RefUnwindSafe for ngx_http_script_regex_code_t
impl !Send for ngx_http_script_regex_code_t
impl !Sync for ngx_http_script_regex_code_t
impl Unpin for ngx_http_script_regex_code_t
impl UnwindSafe for ngx_http_script_regex_code_t
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