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_close: Option<bool>
Open and close notifications are sent to the server.
change: Option<TextDocumentSyncKind>
Change notifications are sent to the server. See TextDocumentSyncKind.None, TextDocumentSyncKind.Full and TextDocumentSyncKindIncremental.
will_save: Option<bool>
Will save notifications are sent to the server.
will_save_wait_until: Option<bool>
Will save wait until requests are sent to the server.
save: Option<SaveOptions>
Save notifications are sent to the server.
Trait Implementations
impl Debug for TextDocumentSyncOptions
[src]
impl Debug for TextDocumentSyncOptions
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for TextDocumentSyncOptions
[src]
impl Eq for TextDocumentSyncOptions
impl PartialEq for TextDocumentSyncOptions
[src]
impl PartialEq for TextDocumentSyncOptions
fn eq(&self, other: &TextDocumentSyncOptions) -> bool
[src]
fn eq(&self, other: &TextDocumentSyncOptions) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TextDocumentSyncOptions) -> bool
[src]
fn ne(&self, other: &TextDocumentSyncOptions) -> bool
This method tests for !=
.
impl Default for TextDocumentSyncOptions
[src]
impl Default for TextDocumentSyncOptions
fn default() -> TextDocumentSyncOptions
[src]
fn default() -> TextDocumentSyncOptions
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for TextDocumentSyncOptions
impl Send for TextDocumentSyncOptions
impl Sync for TextDocumentSyncOptions
impl Sync for TextDocumentSyncOptions