pub struct StreamedLine {
pub lines: Vec<String>,
pub changed: bool,
}Expand description
What LineProcessor::process_line decided for one input line.
Fields§
§lines: Vec<String>Lines to emit in place of the input line: empty for a deletion, one for unchanged/replaced, two for an insert plus the original.
changed: boolWhether the operation changed this line.
Trait Implementations§
Source§impl Debug for StreamedLine
impl Debug for StreamedLine
impl Eq for StreamedLine
Source§impl PartialEq for StreamedLine
impl PartialEq for StreamedLine
Source§fn eq(&self, other: &StreamedLine) -> bool
fn eq(&self, other: &StreamedLine) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StreamedLine
Auto Trait Implementations§
impl Freeze for StreamedLine
impl RefUnwindSafe for StreamedLine
impl Send for StreamedLine
impl Sync for StreamedLine
impl Unpin for StreamedLine
impl UnsafeUnpin for StreamedLine
impl UnwindSafe for StreamedLine
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