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 FormattingOptionsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for FormattingOptions[src]
impl PartialEq for FormattingOptionsfn eq(&self, other: &FormattingOptions) -> bool[src]
fn eq(&self, other: &FormattingOptions) -> boolThis 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) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for FormattingOptions
impl Send for FormattingOptionsimpl Sync for FormattingOptions
impl Sync for FormattingOptions