pub struct Lines { /* private fields */ }Implementations§
Source§impl Lines
impl Lines
pub fn new(lines: Vec<String>) -> Self
pub fn is_exhausted(&self) -> bool
pub fn next_line(&self) -> Option<Line>
pub fn next( &self, context: OutputMatchContext<'_>, ) -> Result<(Option<Line>, Lines), OutputPatternMatchFailure>
pub fn with_ignore(&self, ignore: &OutputPatterns) -> Self
pub fn with_reject(&self, reject: &OutputPatterns) -> Self
pub fn into_inner(self) -> Vec<String>
pub fn is_empty(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lines
impl RefUnwindSafe for Lines
impl Send for Lines
impl Sync for Lines
impl Unpin for Lines
impl UnsafeUnpin for Lines
impl UnwindSafe for Lines
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