Enum lsp_types::TextDocumentSyncKind [−][src]
#[repr(u8)] pub enum TextDocumentSyncKind { None, Full, Incremental, }
Expand description
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
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TextDocumentSyncKind
impl Send for TextDocumentSyncKind
impl Sync for TextDocumentSyncKind
impl Unpin for TextDocumentSyncKind
impl UnwindSafe for TextDocumentSyncKind
Blanket Implementations
Mutably borrows from an owned value. Read more