pub enum ComposedLineKind {
Document {
logical_line: usize,
visual_in_logical: usize,
},
VirtualAboveLine {
logical_line: usize,
},
}Expand description
The kind of a composed visual line.
Variants§
Document
A line segment that corresponds to actual document text (wrap + folding aware).
Fields
VirtualAboveLine
A virtual line inserted above a logical line (e.g. code lens).
Trait Implementations§
Source§impl Clone for ComposedLineKind
impl Clone for ComposedLineKind
Source§fn clone(&self) -> ComposedLineKind
fn clone(&self) -> ComposedLineKind
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 ComposedLineKind
impl Debug for ComposedLineKind
Source§impl PartialEq for ComposedLineKind
impl PartialEq for ComposedLineKind
impl Copy for ComposedLineKind
impl Eq for ComposedLineKind
impl StructuralPartialEq for ComposedLineKind
Auto Trait Implementations§
impl Freeze for ComposedLineKind
impl RefUnwindSafe for ComposedLineKind
impl Send for ComposedLineKind
impl Sync for ComposedLineKind
impl Unpin for ComposedLineKind
impl UnsafeUnpin for ComposedLineKind
impl UnwindSafe for ComposedLineKind
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