pub struct UnicodeClassCache {
pub word: NodeId,
pub non_word: NodeId,
pub digit: NodeId,
pub non_digit: NodeId,
pub space: NodeId,
pub non_space: NodeId,
}Fields§
§word: NodeId§non_word: NodeId§digit: NodeId§non_digit: NodeId§space: NodeId§non_space: NodeIdImplementations§
Source§impl UnicodeClassCache
impl UnicodeClassCache
pub fn ensure_word(&mut self, b: &mut RegexBuilder)
pub fn ensure_digit(&mut self, b: &mut RegexBuilder)
pub fn ensure_space(&mut self, b: &mut RegexBuilder)
Trait Implementations§
Source§impl Clone for UnicodeClassCache
impl Clone for UnicodeClassCache
Source§fn clone(&self) -> UnicodeClassCache
fn clone(&self) -> UnicodeClassCache
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 UnicodeClassCache
impl Debug for UnicodeClassCache
Auto Trait Implementations§
impl Freeze for UnicodeClassCache
impl RefUnwindSafe for UnicodeClassCache
impl Send for UnicodeClassCache
impl Sync for UnicodeClassCache
impl Unpin for UnicodeClassCache
impl UnsafeUnpin for UnicodeClassCache
impl UnwindSafe for UnicodeClassCache
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