pub struct LspLocation {
pub path: String,
pub line: usize,
pub column: usize,
pub preview: String,
}Fields§
§path: String§line: usize§column: usize§preview: StringTrait Implementations§
Source§impl Clone for LspLocation
impl Clone for LspLocation
Source§fn clone(&self) -> LspLocation
fn clone(&self) -> LspLocation
Returns a duplicate of the value. Read more
1.0.0 · 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 LspLocation
impl Debug for LspLocation
Auto Trait Implementations§
impl Freeze for LspLocation
impl RefUnwindSafe for LspLocation
impl Send for LspLocation
impl Sync for LspLocation
impl Unpin for LspLocation
impl UnsafeUnpin for LspLocation
impl UnwindSafe for LspLocation
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