pub struct PatternCache { /* private fields */ }Expand description
LRU cache for compiled regex patterns.
Capacity is clamped to 1..=5000. Patterns are compiled with
case-insensitive and multiline flags ((?im)).
Implementations§
Source§impl PatternCache
impl PatternCache
Auto Trait Implementations§
impl Freeze for PatternCache
impl RefUnwindSafe for PatternCache
impl Send for PatternCache
impl Sync for PatternCache
impl Unpin for PatternCache
impl UnsafeUnpin for PatternCache
impl UnwindSafe for PatternCache
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