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
impl Copy for ComposedLineKind
Source§impl Debug for ComposedLineKind
impl Debug for ComposedLineKind
impl Eq for ComposedLineKind
Source§impl PartialEq for ComposedLineKind
impl PartialEq for ComposedLineKind
impl StructuralPartialEq for ComposedLineKind
Auto Trait Implementations§
impl Forget for ComposedLineKind
impl Freeze for ComposedLineKind
impl Move 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