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