pub struct LineDiff {
pub line: usize,
pub got: String,
pub want: String,
}Expand description
A single line difference in a screen comparison.
Fields§
§line: usize0-based line index.
got: StringActual content.
want: StringExpected content.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LineDiff
impl RefUnwindSafe for LineDiff
impl Send for LineDiff
impl Sync for LineDiff
impl Unpin for LineDiff
impl UnsafeUnpin for LineDiff
impl UnwindSafe for LineDiff
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