Struct languageserver_types::TextDocumentSyncOptions [] [src]

pub struct TextDocumentSyncOptions {
    pub open_close: Option<bool>,
    pub change: Option<TextDocumentSyncKind>,
    pub will_save: Option<bool>,
    pub will_save_wait_until: Option<bool>,
    pub save: Option<SaveOptions>,
}

Fields

Open and close notifications are sent to the server.

Change notifications are sent to the server. See TextDocumentSyncKind.None, TextDocumentSyncKind.Full and TextDocumentSyncKindIncremental.

Will save notifications are sent to the server.

Will save wait until requests are sent to the server.

Save notifications are sent to the server.

Trait Implementations

impl Debug for TextDocumentSyncOptions
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for TextDocumentSyncOptions
[src]

impl PartialEq for TextDocumentSyncOptions
[src]

[src]

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

[src]

This method tests for !=.

impl Default for TextDocumentSyncOptions
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations