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

Holds changes to existing resources.

An array of TextDocumentEdits 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]

[src]

Trait Implementations

impl Debug for WorkspaceEdit
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for WorkspaceEdit
[src]

impl PartialEq for WorkspaceEdit
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Clone for WorkspaceEdit
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for WorkspaceEdit
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for WorkspaceEdit

impl Sync for WorkspaceEdit