pub struct LspTextDocumentEdit {
pub text_document: LspVersionedTextDocumentIdentifier,
pub edits: Vec<LspTextEdit>,
}Expand description
LSP workspace edit for a single document.
Fields§
§text_document: LspVersionedTextDocumentIdentifierDocument identifier.
edits: Vec<LspTextEdit>Edits to apply.
Trait Implementations§
Source§impl Clone for LspTextDocumentEdit
impl Clone for LspTextDocumentEdit
Source§fn clone(&self) -> LspTextDocumentEdit
fn clone(&self) -> LspTextDocumentEdit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LspTextDocumentEdit
impl Debug for LspTextDocumentEdit
Source§impl<'de> Deserialize<'de> for LspTextDocumentEdit
impl<'de> Deserialize<'de> for LspTextDocumentEdit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LspTextDocumentEdit
impl RefUnwindSafe for LspTextDocumentEdit
impl Send for LspTextDocumentEdit
impl Sync for LspTextDocumentEdit
impl Unpin for LspTextDocumentEdit
impl UnwindSafe for LspTextDocumentEdit
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