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 TextDocumentSyncOptionsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for TextDocumentSyncOptions[src]
impl Eq for TextDocumentSyncOptionsimpl PartialEq for TextDocumentSyncOptions[src]
impl PartialEq for TextDocumentSyncOptionsfn eq(&self, other: &TextDocumentSyncOptions) -> bool[src]
fn eq(&self, other: &TextDocumentSyncOptions) -> boolThis 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) -> boolThis method tests for !=.
impl Default for TextDocumentSyncOptions[src]
impl Default for TextDocumentSyncOptionsfn default() -> TextDocumentSyncOptions[src]
fn default() -> TextDocumentSyncOptionsReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for TextDocumentSyncOptions
impl Send for TextDocumentSyncOptionsimpl Sync for TextDocumentSyncOptions
impl Sync for TextDocumentSyncOptions