pub enum ComposedCellSource {
Document {
offset: usize,
},
Virtual {
anchor_offset: usize,
},
}Expand description
The origin of a composed cell.
Variants§
Document
A document text character at the given character offset.
Virtual
A virtual cell anchored to a document character offset (e.g. inlay hints, code lens).
Trait Implementations§
Source§impl Clone for ComposedCellSource
impl Clone for ComposedCellSource
impl Copy for ComposedCellSource
Source§impl Debug for ComposedCellSource
impl Debug for ComposedCellSource
impl Eq for ComposedCellSource
Source§impl PartialEq for ComposedCellSource
impl PartialEq for ComposedCellSource
impl StructuralPartialEq for ComposedCellSource
Auto Trait Implementations§
impl Forget for ComposedCellSource
impl Freeze for ComposedCellSource
impl Move for ComposedCellSource
impl RefUnwindSafe for ComposedCellSource
impl Send for ComposedCellSource
impl Sync for ComposedCellSource
impl Unpin for ComposedCellSource
impl UnsafeUnpin for ComposedCellSource
impl UnwindSafe for ComposedCellSource
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