Enum lsp2::request::GotoDefinition
pub enum GotoDefinition {}
Expand description
The goto definition request is sent from the client to the server to resolve the definition location of a symbol at a given text document position.
Trait Implementations§
§impl Debug for GotoDefinition
impl Debug for GotoDefinition
§impl Request for GotoDefinition
impl Request for GotoDefinition
type Params = GotoDefinitionParams
type Result = Option<GotoDefinitionResponse>
const METHOD: &'static str = "textDocument/definition"
Auto Trait Implementations§
impl RefUnwindSafe for GotoDefinition
impl Send for GotoDefinition
impl Sync for GotoDefinition
impl Unpin for GotoDefinition
impl UnwindSafe for GotoDefinition
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