pub enum DisplayRowEntry<'a> {
Document(&'a CellRow),
Virtual(&'a VirtualRow),
}Expand description
One row yielded by DisplaySliceIter.
Document rows reference a CellRow from the underlying
CellMatrix; Virtual rows reference a VirtualRow
from the sibling VirtualRowMatrix. Renderers paint both
the same way (both carry Arc<[Cell]>), differing only in
the cursor / motion treatment (vim’s j / k step
document rows only — virtual rows are visual-only).
Variants§
Document(&'a CellRow)
Virtual(&'a VirtualRow)
Trait Implementations§
Source§impl<'a> Clone for DisplayRowEntry<'a>
impl<'a> Clone for DisplayRowEntry<'a>
Source§fn clone(&self) -> DisplayRowEntry<'a>
fn clone(&self) -> DisplayRowEntry<'a>
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 moreimpl<'a> Copy for DisplayRowEntry<'a>
Auto Trait Implementations§
impl<'a> Freeze for DisplayRowEntry<'a>
impl<'a> RefUnwindSafe for DisplayRowEntry<'a>
impl<'a> Send for DisplayRowEntry<'a>
impl<'a> Sync for DisplayRowEntry<'a>
impl<'a> Unpin for DisplayRowEntry<'a>
impl<'a> UnsafeUnpin for DisplayRowEntry<'a>
impl<'a> UnwindSafe for DisplayRowEntry<'a>
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