Struct languageserver_types::TextEdit [] [src]

pub struct TextEdit {
    pub range: Range,
    pub new_text: String,
}

A textual edit applicable to a text document.

Fields

The range of the text document to be manipulated. To insert text into a document create a range where start === end.

The string to be inserted. For delete operations use an empty string.

Trait Implementations

impl Debug for TextEdit
[src]

Formats the value using the given formatter.

impl PartialEq for TextEdit
[src]

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

This method tests for !=.

impl Default for TextEdit
[src]

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