pub struct RegexOptions {
pub whole_word: bool,
pub match_case: bool,
}Expand description
Options for regex pattern conversion
Fields§
§whole_word: boolWhether to match only whole words (bounded by non-word characters)
match_case: boolWhether to perform case-sensitive matching
Trait Implementations§
Source§impl Clone for RegexOptions
impl Clone for RegexOptions
Source§fn clone(&self) -> RegexOptions
fn clone(&self) -> RegexOptions
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 RegexOptions
impl Debug for RegexOptions
impl Copy for RegexOptions
Auto Trait Implementations§
impl Freeze for RegexOptions
impl RefUnwindSafe for RegexOptions
impl Send for RegexOptions
impl Sync for RegexOptions
impl Unpin for RegexOptions
impl UnwindSafe for RegexOptions
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