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

Documents should not be synced at all.

Documents are synced by always sending the full content of the document.

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]

Formats the value using the given formatter. Read more

impl Eq for TextDocumentSyncKind
[src]

impl PartialEq for TextDocumentSyncKind
[src]

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

This method tests for !=.

impl Clone for TextDocumentSyncKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for TextDocumentSyncKind
[src]

impl<'de> Deserialize<'de> for TextDocumentSyncKind
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for TextDocumentSyncKind
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations