pub struct RegexWrapper {
pub regex: Regex,
pub source: String,
}Expand description
Wrapper around regex::Regex to implement Debug + Clone.
Fields§
§regex: Regex§source: StringTrait Implementations§
Source§impl Clone for RegexWrapper
impl Clone for RegexWrapper
Source§fn clone(&self) -> RegexWrapper
fn clone(&self) -> RegexWrapper
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 moreAuto Trait Implementations§
impl Freeze for RegexWrapper
impl RefUnwindSafe for RegexWrapper
impl Send for RegexWrapper
impl Sync for RegexWrapper
impl Unpin for RegexWrapper
impl UnwindSafe for RegexWrapper
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