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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for FormattingOptions
[src]
fn eq(&self, __arg_0: &FormattingOptions) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FormattingOptions) -> bool
[src]
This method tests for !=
.
impl<'de> Deserialize<'de> for FormattingOptions
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more