pub enum DocumentHighlightRequest {}Expand description
Request to resolve a DocumentHighlight for a given
text document position. The request’s parameter is of type [TextDocumentPosition]
the request response is an array of type DocumentHighlight
or a Thenable that resolves to such.
Trait Implementations§
Source§impl Debug for DocumentHighlightRequest
impl Debug for DocumentHighlightRequest
Source§impl Request for DocumentHighlightRequest
impl Request for DocumentHighlightRequest
const METHOD: LspRequestMethod<'static> = LspRequestMethod::TextDocumentDocumentHighlight
const MESSAGE_DIRECTION: MessageDirection = MessageDirection::ClientToServer
type Params = DocumentHighlightParams
type Result = Option<Vec<DocumentHighlight>>
Auto Trait Implementations§
impl Freeze for DocumentHighlightRequest
impl RefUnwindSafe for DocumentHighlightRequest
impl Send for DocumentHighlightRequest
impl Sync for DocumentHighlightRequest
impl Unpin for DocumentHighlightRequest
impl UnsafeUnpin for DocumentHighlightRequest
impl UnwindSafe for DocumentHighlightRequest
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