#[repr(C)]pub struct apr_strmatch_pattern {
pub compare: Option<unsafe extern "C" fn(this_pattern: *const apr_strmatch_pattern, s: *const c_char, slen: apr_size_t) -> *const c_char>,
pub pattern: *const c_char,
pub length: apr_size_t,
pub context: *mut c_void,
}Expand description
Precompiled search pattern
Fields§
§compare: Option<unsafe extern "C" fn(this_pattern: *const apr_strmatch_pattern, s: *const c_char, slen: apr_size_t) -> *const c_char>Function called to compare
pattern: *const c_char< Current pattern
length: apr_size_t< Current length
context: *mut c_void< hook to add precomputed metadata
Trait Implementations§
Source§impl Clone for apr_strmatch_pattern
impl Clone for apr_strmatch_pattern
Source§fn clone(&self) -> apr_strmatch_pattern
fn clone(&self) -> apr_strmatch_pattern
Returns a duplicate 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 apr_strmatch_pattern
impl Debug for apr_strmatch_pattern
impl Copy for apr_strmatch_pattern
Auto Trait Implementations§
impl Freeze for apr_strmatch_pattern
impl RefUnwindSafe for apr_strmatch_pattern
impl !Send for apr_strmatch_pattern
impl !Sync for apr_strmatch_pattern
impl Unpin for apr_strmatch_pattern
impl UnsafeUnpin for apr_strmatch_pattern
impl UnwindSafe for apr_strmatch_pattern
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