pub struct ComposedGrid {
pub lines: Vec<ComposedLine>,
pub start_visual_row: usize,
pub count: usize,
}Expand description
A decoration-aware snapshot that can include virtual text (inlay hints, code lens, …).
Fields§
§lines: Vec<ComposedLine>Composed visual lines.
start_visual_row: usizeRequested start row (in composed visual rows).
count: usizeRequested row count.
Implementations§
Source§impl ComposedGrid
impl ComposedGrid
Trait Implementations§
Source§impl Clone for ComposedGrid
impl Clone for ComposedGrid
Source§impl Debug for ComposedGrid
impl Debug for ComposedGrid
impl Eq for ComposedGrid
Source§impl PartialEq for ComposedGrid
impl PartialEq for ComposedGrid
impl StructuralPartialEq for ComposedGrid
Auto Trait Implementations§
impl Forget for ComposedGrid
impl Freeze for ComposedGrid
impl Move for ComposedGrid
impl RefUnwindSafe for ComposedGrid
impl Send for ComposedGridwhere
RawVecInner: Send,
impl Sync for ComposedGridwhere
RawVecInner: Sync,
impl Unpin for ComposedGrid
impl UnsafeUnpin for ComposedGrid
impl UnwindSafe for ComposedGridwhere
RawVecInner: UnwindSafe,
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