Struct languageserver_types::TextEdit
[−]
[src]
pub struct TextEdit {
pub range: Range,
pub new_text: String,
}A textual edit applicable to a text document.
Fields
range: Range
The range of the text document to be manipulated. To insert text into a document create a range where start === end.
new_text: String
The string to be inserted. For delete operations use an empty string.
Trait Implementations
impl Debug for TextEdit[src]
impl PartialEq for TextEdit[src]
fn eq(&self, __arg_0: &TextEdit) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TextEdit) -> bool
This method tests for !=.