pub struct LspPosition {
pub line: u32,
pub character: u32,
}Fields§
§line: u32§character: u32Trait Implementations§
Source§impl Clone for LspPosition
impl Clone for LspPosition
Source§fn clone(&self) -> LspPosition
fn clone(&self) -> LspPosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LspPosition
impl Debug for LspPosition
Source§impl<'de> Deserialize<'de> for LspPosition
impl<'de> Deserialize<'de> for LspPosition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LspPosition
impl RefUnwindSafe for LspPosition
impl Send for LspPosition
impl Sync for LspPosition
impl Unpin for LspPosition
impl UnsafeUnpin for LspPosition
impl UnwindSafe for LspPosition
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