pub struct ScreenDiff {
pub actual_lines: usize,
pub expected_lines: usize,
pub mismatches: Vec<LineDiff>,
}Expand description
Result of comparing screen content with expected lines.
Fields§
§actual_lines: usizeNumber of lines in the actual screen.
expected_lines: usizeNumber of lines in the expected slice.
mismatches: Vec<LineDiff>Per-line mismatches.
Trait Implementations§
Source§impl Clone for ScreenDiff
impl Clone for ScreenDiff
Source§fn clone(&self) -> ScreenDiff
fn clone(&self) -> ScreenDiff
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScreenDiff
impl Debug for ScreenDiff
Auto Trait Implementations§
impl Freeze for ScreenDiff
impl RefUnwindSafe for ScreenDiff
impl Send for ScreenDiff
impl Sync for ScreenDiff
impl Unpin for ScreenDiff
impl UnsafeUnpin for ScreenDiff
impl UnwindSafe for ScreenDiff
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