Struct languageserver_types::WorkspaceEdit
[−]
[src]
pub struct WorkspaceEdit { pub changes: Option<HashMap<Url, Vec<TextEdit>>>, pub document_changes: Option<Vec<TextDocumentEdit>>, }
A workspace edit represents changes to many resources managed in the workspace.
Fields
changes: Option<HashMap<Url, Vec<TextEdit>>>
Holds changes to existing resources.
document_changes: Option<Vec<TextDocumentEdit>>
An array of TextDocumentEdit
s to express changes to n different text documents
where each text document edit addresses a specific version of a text document.
Whether a client supports versioned document edits is expressed via
WorkspaceClientCapabilities.workspaceEdit.documentChanges
.
Methods
impl WorkspaceEdit
[src]
Trait Implementations
impl Debug for WorkspaceEdit
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for WorkspaceEdit
[src]
impl PartialEq for WorkspaceEdit
[src]
fn eq(&self, __arg_0: &WorkspaceEdit) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &WorkspaceEdit) -> bool
[src]
This method tests for !=
.
impl Clone for WorkspaceEdit
[src]
fn clone(&self) -> WorkspaceEdit
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for WorkspaceEdit
[src]
fn default() -> WorkspaceEdit
[src]
Returns the "default value" for a type. Read more