Struct lsp_text::TextPosition
source · [−]Fields
char: u32
byte: u32
code: u32
Trait Implementations
sourceimpl Clone for TextPosition
impl Clone for TextPosition
sourcefn clone(&self) -> TextPosition
fn clone(&self) -> TextPosition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TextPosition
impl Debug for TextPosition
sourceimpl PartialEq<TextPosition> for TextPosition
impl PartialEq<TextPosition> for TextPosition
sourcefn eq(&self, other: &TextPosition) -> bool
fn eq(&self, other: &TextPosition) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TextPosition) -> bool
fn ne(&self, other: &TextPosition) -> bool
This method tests for !=
.
impl Eq for TextPosition
impl StructuralEq for TextPosition
impl StructuralPartialEq for TextPosition
Auto Trait Implementations
impl RefUnwindSafe for TextPosition
impl Send for TextPosition
impl Sync for TextPosition
impl Unpin for TextPosition
impl UnwindSafe for TextPosition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more