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.

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 Deserialize for TextDocumentSyncKind
[src]

Deserialize this value given this Deserializer.

impl Serialize for TextDocumentSyncKind
[src]

Serializes this value into this serializer.