[][src]Struct lsp_types::DocumentOnTypeFormattingRegistrationOptions

pub struct DocumentOnTypeFormattingRegistrationOptions {
    pub document_selector: Option<DocumentSelector>,
    pub first_trigger_character: String,
    pub more_trigger_character: Option<Vec<String>>,
}

Extends TextDocumentRegistrationOptions

Fields

document_selector: Option<DocumentSelector>

A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

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 Eq for DocumentOnTypeFormattingRegistrationOptions
[src]

impl PartialEq<DocumentOnTypeFormattingRegistrationOptions> for DocumentOnTypeFormattingRegistrationOptions
[src]

impl Debug for DocumentOnTypeFormattingRegistrationOptions
[src]

impl Serialize for DocumentOnTypeFormattingRegistrationOptions
[src]

impl<'de> Deserialize<'de> for DocumentOnTypeFormattingRegistrationOptions
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]