pub struct DeltaBatch {
pub x: u16,
pub y: u16,
pub cells: Vec<Cell>,
}Expand description
Represents a contiguous run of changed cells in the same row.
Batching consecutive cells allows the renderer to emit fewer cursor-move escape sequences, since cells in the same batch are adjacent.
Fields§
§x: u16Starting column.
y: u16Row.
cells: Vec<Cell>The cells in this batch (left to right).
Trait Implementations§
Source§impl Clone for DeltaBatch
impl Clone for DeltaBatch
Source§fn clone(&self) -> DeltaBatch
fn clone(&self) -> DeltaBatch
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 DeltaBatch
impl Debug for DeltaBatch
Source§impl PartialEq for DeltaBatch
impl PartialEq for DeltaBatch
impl Eq for DeltaBatch
impl StructuralPartialEq for DeltaBatch
Auto Trait Implementations§
impl Freeze for DeltaBatch
impl RefUnwindSafe for DeltaBatch
impl Send for DeltaBatch
impl Sync for DeltaBatch
impl Unpin for DeltaBatch
impl UnwindSafe for DeltaBatch
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