Struct languageserver_types::TextDocumentContentChangeEvent
[−]
[src]
pub struct TextDocumentContentChangeEvent { pub range: Option<Range>, pub range_length: Option<u64>, pub text: String, }
An event describing a change to a text document. If range and rangeLength are omitted the new text is considered to be the full content of the document.
Fields
range: Option<Range>
The range of the document that changed.
range_length: Option<u64>
The length of the range that got replaced. NOTE: seems redundant, see: https://github.com/Microsoft/language-server-protocol/issues/9
text: String
The new text of the document.
Trait Implementations
impl Debug for TextDocumentContentChangeEvent
[src]
impl Eq for TextDocumentContentChangeEvent
[src]
impl PartialEq for TextDocumentContentChangeEvent
[src]
fn eq(&self, __arg_0: &TextDocumentContentChangeEvent) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TextDocumentContentChangeEvent) -> bool
[src]
This method tests for !=
.