Struct languageserver_types::TextDocumentChangeRegistrationOptions[][src]

pub struct TextDocumentChangeRegistrationOptions {
    pub document_selector: Option<DocumentSelector>,
    pub sync_kind: i32,
}

Descibe options to be used when registered for text document change events.

Extends TextDocumentRegistrationOptions

Fields

A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

How documents are synced to the server. See TextDocumentSyncKind.Full and TextDocumentSyncKindIncremental.

Trait Implementations

impl Debug for TextDocumentChangeRegistrationOptions
[src]

Formats the value using the given formatter. Read more

impl Eq for TextDocumentChangeRegistrationOptions
[src]

impl PartialEq for TextDocumentChangeRegistrationOptions
[src]

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

This method tests for !=.

Auto Trait Implementations