pub struct FastRegex { /* private fields */ }Implementations§
Source§impl FastRegex
impl FastRegex
pub fn new(pattern: &str, flags: u16) -> Result<Self, String>
pub fn find(&self, input: &str) -> Option<Match>
pub fn is_match(&self, input: &str) -> bool
pub fn find_all(&self, input: &str) -> Vec<Match>
pub fn mode(&self) -> ExecMode
pub fn dfa(&self) -> Option<&SimpleDFA>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FastRegex
impl RefUnwindSafe for FastRegex
impl Send for FastRegex
impl Sync for FastRegex
impl Unpin for FastRegex
impl UnsafeUnpin for FastRegex
impl UnwindSafe for FastRegex
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