pub struct LspQueryRequest<'a> {
pub nonce: u16,
pub lsp_id: u16,
pub kind: u8,
pub flags: u8,
pub line: u32,
pub col: u32,
pub path: &'a str,
pub arg: &'a str,
}Expand description
A decoded C2S_LSP_QUERY request.
Fields§
§nonce: u16§lsp_id: u16§kind: u8One of LSP_QUERY_*.
flags: u8§line: u320-based; ignored by the symbol kinds.
col: u32UTF-8 byte offset within the line; ignored by the symbol kinds.
path: &'a strEscaped form; empty for WS_SYMBOLS.
arg: &'a strWS_SYMBOLS query string or RENAME new name; empty otherwise.
Trait Implementations§
Source§impl<'a> Clone for LspQueryRequest<'a>
impl<'a> Clone for LspQueryRequest<'a>
Source§fn clone(&self) -> LspQueryRequest<'a>
fn clone(&self) -> LspQueryRequest<'a>
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<'a> Debug for LspQueryRequest<'a>
impl<'a> Debug for LspQueryRequest<'a>
impl<'a> Eq for LspQueryRequest<'a>
Source§impl<'a> PartialEq for LspQueryRequest<'a>
impl<'a> PartialEq for LspQueryRequest<'a>
impl<'a> StructuralPartialEq for LspQueryRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for LspQueryRequest<'a>
impl<'a> RefUnwindSafe for LspQueryRequest<'a>
impl<'a> Send for LspQueryRequest<'a>
impl<'a> Sync for LspQueryRequest<'a>
impl<'a> Unpin for LspQueryRequest<'a>
impl<'a> UnsafeUnpin for LspQueryRequest<'a>
impl<'a> UnwindSafe for LspQueryRequest<'a>
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