pub struct Regex<'i> {
pub content: Cow<'i, str>,
pub span: Span,
}
Fields§
§content: Cow<'i, str>
§span: Span
Trait Implementations§
impl<'i> Eq for Regex<'i>
impl<'i> StructuralPartialEq for Regex<'i>
Auto Trait Implementations§
impl<'i> Freeze for Regex<'i>
impl<'i> RefUnwindSafe for Regex<'i>
impl<'i> Send for Regex<'i>
impl<'i> Sync for Regex<'i>
impl<'i> Unpin for Regex<'i>
impl<'i> UnwindSafe for Regex<'i>
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