pub struct RecoveryRow {
pub bytes: Vec<u8>,
pub wrapped: bool,
pub span: RenderedLineSpan,
pub trailing_reflow_gap: u32,
}Expand description
One rendered recovery row: the bytes to replay, the soft-wrap flag, and the columns those bytes paint.
A replay places the next row either by autowrap or by an explicit line break, so the emitting side needs the painted span, not the byte length.
Fields§
§bytes: Vec<u8>Bytes that repaint the row from a fresh ANSI state.
wrapped: boolWhether the row soft-wraps onto the following row.
span: RenderedLineSpanColumns painted by the row.
trailing_reflow_gap: u32Columns a pre-wrapped wide glyph left unused at the end of the row.
Trait Implementations§
Source§impl Clone for RecoveryRow
impl Clone for RecoveryRow
Source§fn clone(&self) -> RecoveryRow
fn clone(&self) -> RecoveryRow
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 RecoveryRow
impl Debug for RecoveryRow
impl Eq for RecoveryRow
Source§impl PartialEq for RecoveryRow
impl PartialEq for RecoveryRow
impl StructuralPartialEq for RecoveryRow
Auto Trait Implementations§
impl Freeze for RecoveryRow
impl RefUnwindSafe for RecoveryRow
impl Send for RecoveryRow
impl Sync for RecoveryRow
impl Unpin for RecoveryRow
impl UnsafeUnpin for RecoveryRow
impl UnwindSafe for RecoveryRow
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