pub enum DocumentSymbolRequest {}Expand description
A request to list all symbols found in a given text document. The request’s
parameter is of type TextDocumentIdentifier the
response is of type SymbolInformation[] or a Thenable
that resolves to such.
Trait Implementations§
Source§impl Debug for DocumentSymbolRequest
impl Debug for DocumentSymbolRequest
Source§impl Request for DocumentSymbolRequest
impl Request for DocumentSymbolRequest
const METHOD: LspRequestMethod<'static> = LspRequestMethod::TextDocumentDocumentSymbol
const MESSAGE_DIRECTION: MessageDirection = MessageDirection::ClientToServer
type Params = DocumentSymbolParams
type Result = Option<DocumentSymbolResponse>
Auto Trait Implementations§
impl Freeze for DocumentSymbolRequest
impl RefUnwindSafe for DocumentSymbolRequest
impl Send for DocumentSymbolRequest
impl Sync for DocumentSymbolRequest
impl Unpin for DocumentSymbolRequest
impl UnsafeUnpin for DocumentSymbolRequest
impl UnwindSafe for DocumentSymbolRequest
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