Struct languageserver_types::DocumentOnTypeFormattingOptions [−][src]
pub struct DocumentOnTypeFormattingOptions {
pub first_trigger_character: String,
pub more_trigger_character: Option<Vec<String>>,
}Format document on type options
Fields
first_trigger_character: String
A character on which formatting should be triggered, like }.
more_trigger_character: Option<Vec<String>>
More trigger characters.
Trait Implementations
impl Debug for DocumentOnTypeFormattingOptions[src]
impl Debug for DocumentOnTypeFormattingOptionsfn 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 DocumentOnTypeFormattingOptions[src]
impl Eq for DocumentOnTypeFormattingOptionsimpl PartialEq for DocumentOnTypeFormattingOptions[src]
impl PartialEq for DocumentOnTypeFormattingOptionsfn eq(&self, other: &DocumentOnTypeFormattingOptions) -> bool[src]
fn eq(&self, other: &DocumentOnTypeFormattingOptions) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &DocumentOnTypeFormattingOptions) -> bool[src]
fn ne(&self, other: &DocumentOnTypeFormattingOptions) -> boolThis method tests for !=.
impl Default for DocumentOnTypeFormattingOptions[src]
impl Default for DocumentOnTypeFormattingOptionsfn default() -> DocumentOnTypeFormattingOptions[src]
fn default() -> DocumentOnTypeFormattingOptionsReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for DocumentOnTypeFormattingOptions
impl Send for DocumentOnTypeFormattingOptionsimpl Sync for DocumentOnTypeFormattingOptions
impl Sync for DocumentOnTypeFormattingOptions