pub struct MatchParam { /* private fields */ }
Expand description
Parameters for a Match or Search.
Implementations§
Source§impl MatchParam
impl MatchParam
Sourcepub fn set_match_stack_limit(&mut self, limit: u32)
pub fn set_match_stack_limit(&mut self, limit: u32)
Set the match stack limit
Sourcepub fn set_retry_limit_in_match(&mut self, limit: u32)
pub fn set_retry_limit_in_match(&mut self, limit: u32)
Set the retry limit in match
Sourcepub fn as_raw(&self) -> *mut OnigMatchParam
pub fn as_raw(&self) -> *mut OnigMatchParam
Get the Raw OnigMatchParam
Pointer
Trait Implementations§
Source§impl Default for MatchParam
impl Default for MatchParam
Auto Trait Implementations§
impl Freeze for MatchParam
impl RefUnwindSafe for MatchParam
impl !Send for MatchParam
impl !Sync for MatchParam
impl Unpin for MatchParam
impl UnwindSafe for MatchParam
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