Struct lsp_types::TextDocumentSyncKind [−][src]
pub struct TextDocumentSyncKind(_);
Expand description
Defines how the host (editor) should sync document changes to the language server.
Implementations
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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