pub struct EndsWith<'a>(/* private fields */);
Expand description
Regex syntax for matching the pattern of the input regex at the end of the searched text.
§Example
use readable_regex::solvers::EndsWith;
use readable_regex::ReadableRe::Raw;
let query = EndsWith::new(Raw("abc"));
assert_eq!(query.to_string(), "abc$");
Implementations§
Trait Implementations§
Source§impl<'a> FromIterator<ReadableRe<'a>> for EndsWith<'a>
impl<'a> FromIterator<ReadableRe<'a>> for EndsWith<'a>
Source§fn from_iter<T: IntoIterator<Item = ReadableRe<'a>>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = ReadableRe<'a>>>(iter: T) -> Self
Creates a value from an iterator. Read more
Auto Trait Implementations§
impl<'a> Freeze for EndsWith<'a>
impl<'a> RefUnwindSafe for EndsWith<'a>
impl<'a> Send for EndsWith<'a>
impl<'a> Sync for EndsWith<'a>
impl<'a> Unpin for EndsWith<'a>
impl<'a> UnwindSafe for EndsWith<'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