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