Struct languageserver_types::FormattingOptions [−][src]
pub struct FormattingOptions { pub tab_size: u64, pub insert_spaces: bool, pub properties: HashMap<String, FormattingProperty>, }
Value-object describing what options formatting should use.
Fields
tab_size: u64
Size of a tab in spaces.
insert_spaces: bool
Prefer spaces over tabs.
properties: HashMap<String, FormattingProperty>
Signature for further properties.
Trait Implementations
impl Debug for FormattingOptions
[src]
impl Debug for FormattingOptions
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 PartialEq for FormattingOptions
[src]
impl PartialEq for FormattingOptions
fn eq(&self, other: &FormattingOptions) -> bool
[src]
fn eq(&self, other: &FormattingOptions) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FormattingOptions) -> bool
[src]
fn ne(&self, other: &FormattingOptions) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for FormattingOptions
impl Send for FormattingOptions
impl Sync for FormattingOptions
impl Sync for FormattingOptions