pub struct Pattern {
pub pattern: String,
}Fields§
§pattern: StringImplementations§
Source§impl Pattern
impl Pattern
pub fn search_lines<'i, I>(&self, lines: I) -> Vec<Found>where
I: IntoIterator<Item = &'i Line>,
Auto Trait Implementations§
impl Freeze for Pattern
impl RefUnwindSafe for Pattern
impl Send for Pattern
impl Sync for Pattern
impl Unpin for Pattern
impl UnwindSafe for Pattern
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