pub struct Regex<Re: AsRef<str>>(pub Re);
Expand description
Regex tries to look up a match by a regex.
Tuple Fields§
§0: Re
Trait Implementations§
Auto Trait Implementations§
impl<Re> Freeze for Regex<Re>where
Re: Freeze,
impl<Re> RefUnwindSafe for Regex<Re>where
Re: RefUnwindSafe,
impl<Re> Send for Regex<Re>where
Re: Send,
impl<Re> Sync for Regex<Re>where
Re: Sync,
impl<Re> Unpin for Regex<Re>where
Re: Unpin,
impl<Re> UnwindSafe for Regex<Re>where
Re: UnwindSafe,
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