Enum lsp2::request::PrepareRenameRequest
pub enum PrepareRenameRequest {}
Expand description
The prepare rename request is sent from the client to the server to setup and test the validity of a rename operation at a given location.
Trait Implementations§
§impl Debug for PrepareRenameRequest
impl Debug for PrepareRenameRequest
§impl Request for PrepareRenameRequest
impl Request for PrepareRenameRequest
type Params = TextDocumentPositionParams
type Result = Option<PrepareRenameResponse>
const METHOD: &'static str = "textDocument/prepareRename"
Auto Trait Implementations§
impl RefUnwindSafe for PrepareRenameRequest
impl Send for PrepareRenameRequest
impl Sync for PrepareRenameRequest
impl Unpin for PrepareRenameRequest
impl UnwindSafe for PrepareRenameRequest
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