pub enum DeclarationRequest {}Expand description
A request to resolve the type definition locations of a symbol at a given text
document position. The request’s parameter is of type TextDocumentPositionParams
the response is of type Declaration or a typed array of DeclarationLink
or a Thenable that resolves to such.
Trait Implementations§
Source§impl Debug for DeclarationRequest
impl Debug for DeclarationRequest
Source§impl Request for DeclarationRequest
impl Request for DeclarationRequest
const METHOD: LspRequestMethod<'static> = LspRequestMethod::TextDocumentDeclaration
const MESSAGE_DIRECTION: MessageDirection = MessageDirection::ClientToServer
type Params = DeclarationParams
type Result = Option<DeclarationResponse>
Auto Trait Implementations§
impl Freeze for DeclarationRequest
impl RefUnwindSafe for DeclarationRequest
impl Send for DeclarationRequest
impl Sync for DeclarationRequest
impl Unpin for DeclarationRequest
impl UnsafeUnpin for DeclarationRequest
impl UnwindSafe for DeclarationRequest
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