pub struct Exactly<'a> { /* private fields */ }
Expand description
Regex syntax for matching an exact number of occurrences of the input regex
§Example
use readable_regex::solvers::Exactly;
use readable_regex::ReadableRe::Raw;
let query = Exactly::new(3, Raw("A"));
assert_eq!(query.to_string(), "A{3}")
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Exactly<'a>
impl<'a> RefUnwindSafe for Exactly<'a>
impl<'a> Send for Exactly<'a>
impl<'a> Sync for Exactly<'a>
impl<'a> Unpin for Exactly<'a>
impl<'a> UnwindSafe for Exactly<'a>
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