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 Debug for TextDocumentContentChangeEvent
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for TextDocumentContentChangeEvent
[src]
impl Eq for TextDocumentContentChangeEvent
impl PartialEq for TextDocumentContentChangeEvent
[src]
impl PartialEq for TextDocumentContentChangeEvent
fn eq(&self, other: &TextDocumentContentChangeEvent) -> bool
[src]
fn eq(&self, other: &TextDocumentContentChangeEvent) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TextDocumentContentChangeEvent) -> bool
[src]
fn ne(&self, other: &TextDocumentContentChangeEvent) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for TextDocumentContentChangeEvent
impl Send for TextDocumentContentChangeEvent
impl Sync for TextDocumentContentChangeEvent
impl Sync for TextDocumentContentChangeEvent