Struct languageserver_types::FormattingOptions [] [src]

pub struct FormattingOptions {
    pub tab_size: u64,
    pub insert_spaces: bool,
}

Value-object describing what options formatting should use.

Fields

Size of a tab in spaces.

Prefer spaces over tabs.

Trait Implementations

impl Debug for FormattingOptions
[src]

Formats the value using the given formatter.

impl PartialEq for FormattingOptions
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.