pub struct DiffRunSummary {
pub x: u16,
pub y: u16,
pub style: CellStyle,
pub text: String,
pub cell_len: usize,
pub visible_cells: usize,
pub width: usize,
}Expand description
An owned summary of a Scrin DiffRun for diagnostics and tests.
Fields§
§x: u16§y: u16§style: CellStyle§text: String§cell_len: usize§visible_cells: usize§width: usizeTrait Implementations§
Source§impl Clone for DiffRunSummary
impl Clone for DiffRunSummary
Source§fn clone(&self) -> DiffRunSummary
fn clone(&self) -> DiffRunSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DiffRunSummary
impl Debug for DiffRunSummary
impl Eq for DiffRunSummary
Source§impl<'a> From<DiffRun<'a>> for DiffRunSummary
impl<'a> From<DiffRun<'a>> for DiffRunSummary
Source§impl PartialEq for DiffRunSummary
impl PartialEq for DiffRunSummary
Source§fn eq(&self, other: &DiffRunSummary) -> bool
fn eq(&self, other: &DiffRunSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DiffRunSummary
Auto Trait Implementations§
impl Freeze for DiffRunSummary
impl RefUnwindSafe for DiffRunSummary
impl Send for DiffRunSummary
impl Sync for DiffRunSummary
impl Unpin for DiffRunSummary
impl UnsafeUnpin for DiffRunSummary
impl UnwindSafe for DiffRunSummary
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