pub struct DowngradedRegexPattern {
pub atomic_group_offsets: HashSet<usize>,
pub pattern: String,
}Expand description
A downgraded pattern and the offsets of any atomic groups it introduced.
Fields§
§atomic_group_offsets: HashSet<usize>Offsets of groups to treat as atomic.
pattern: StringThe downgraded pattern.
Trait Implementations§
Source§impl Clone for DowngradedRegexPattern
impl Clone for DowngradedRegexPattern
Auto Trait Implementations§
impl Freeze for DowngradedRegexPattern
impl RefUnwindSafe for DowngradedRegexPattern
impl Send for DowngradedRegexPattern
impl Sync for DowngradedRegexPattern
impl Unpin for DowngradedRegexPattern
impl UnsafeUnpin for DowngradedRegexPattern
impl UnwindSafe for DowngradedRegexPattern
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