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§fn clone(&self) -> ComposedGrid
fn clone(&self) -> ComposedGrid
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 ComposedGrid
impl Debug for ComposedGrid
Source§impl PartialEq for ComposedGrid
impl PartialEq for ComposedGrid
impl Eq for ComposedGrid
impl StructuralPartialEq for ComposedGrid
Auto Trait Implementations§
impl Freeze for ComposedGrid
impl RefUnwindSafe for ComposedGrid
impl Send for ComposedGrid
impl Sync for ComposedGrid
impl Unpin for ComposedGrid
impl UnsafeUnpin for ComposedGrid
impl UnwindSafe for ComposedGrid
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