Enum languageserver_types::TextDocumentSyncKind
[−]
[src]
pub enum TextDocumentSyncKind { None, Full, Incremental, }
Defines how the host (editor) should sync document changes to the language server.
Variants
None
Documents should not be synced at all.
Full
Documents are synced by always sending the full content of the document.
Incremental
Documents are synced by sending the full content on open. After that only incremental updates to the document are sent.
Trait Implementations
impl Debug for TextDocumentSyncKind
[src]
impl PartialEq for TextDocumentSyncKind
[src]
fn eq(&self, __arg_0: &TextDocumentSyncKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Clone for TextDocumentSyncKind
[src]
fn clone(&self) -> TextDocumentSyncKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for TextDocumentSyncKind
[src]
impl<'de> Deserialize<'de> for TextDocumentSyncKind
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more