pub struct PositionTranslationContext {
pub encoding: PositionEncodingKind,
pub line_index: LineIndex,
}Expand description
Represents context information necessary to translate between an LSP position/range and ink! analyzer offset/text range.
Fields§
§encoding: PositionEncodingKind§line_index: LineIndexAuto Trait Implementations§
impl Freeze for PositionTranslationContext
impl RefUnwindSafe for PositionTranslationContext
impl Send for PositionTranslationContext
impl Sync for PositionTranslationContext
impl Unpin for PositionTranslationContext
impl UnwindSafe for PositionTranslationContext
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