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 DocumentOnTypeFormattingOptions
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 DocumentOnTypeFormattingOptions
[src]
impl Eq for DocumentOnTypeFormattingOptions
impl PartialEq for DocumentOnTypeFormattingOptions
[src]
impl PartialEq for DocumentOnTypeFormattingOptions
fn eq(&self, other: &DocumentOnTypeFormattingOptions) -> bool
[src]
fn eq(&self, other: &DocumentOnTypeFormattingOptions) -> bool
This 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) -> bool
This method tests for !=
.
impl Default for DocumentOnTypeFormattingOptions
[src]
impl Default for DocumentOnTypeFormattingOptions
fn default() -> DocumentOnTypeFormattingOptions
[src]
fn default() -> DocumentOnTypeFormattingOptions
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for DocumentOnTypeFormattingOptions
impl Send for DocumentOnTypeFormattingOptions
impl Sync for DocumentOnTypeFormattingOptions
impl Sync for DocumentOnTypeFormattingOptions