pub struct DiffResult {
pub cells_changed: usize,
pub cursor_moves: usize,
pub color_changes: usize,
pub modifier_changes: usize,
}Expand description
Result of a diff operation.
Fields§
§cells_changed: usizeNumber of cells that were different.
cursor_moves: usizeNumber of cursor move sequences emitted.
color_changes: usizeNumber of color change sequences emitted.
modifier_changes: usizeNumber of modifier change sequences emitted.
Trait Implementations§
Source§impl Clone for DiffResult
impl Clone for DiffResult
Source§fn clone(&self) -> DiffResult
fn clone(&self) -> DiffResult
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 DiffResult
impl Debug for DiffResult
Source§impl Default for DiffResult
impl Default for DiffResult
Source§fn default() -> DiffResult
fn default() -> DiffResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DiffResult
impl RefUnwindSafe for DiffResult
impl Send for DiffResult
impl Sync for DiffResult
impl Unpin for DiffResult
impl UnwindSafe for DiffResult
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