pub struct ChangeRun {
pub y: u16,
pub x0: u16,
pub x1: u16,
}Expand description
A contiguous run of changed cells on a single row.
Used by the presenter to emit efficient cursor positioning. Instead of positioning for each cell, position once and emit the run.
Fields§
§y: u16Row index.
x0: u16Start column (inclusive).
x1: u16End column (inclusive).
Implementations§
Trait Implementations§
impl Copy for ChangeRun
impl Eq for ChangeRun
impl StructuralPartialEq for ChangeRun
Auto Trait Implementations§
impl Freeze for ChangeRun
impl RefUnwindSafe for ChangeRun
impl Send for ChangeRun
impl Sync for ChangeRun
impl Unpin for ChangeRun
impl UnsafeUnpin for ChangeRun
impl UnwindSafe for ChangeRun
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