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

impl Debug for DocumentOnTypeFormattingRegistrationOptions[src]

impl Default for DocumentOnTypeFormattingRegistrationOptions[src]

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

impl Eq for DocumentOnTypeFormattingRegistrationOptions[src]

impl PartialEq<DocumentOnTypeFormattingRegistrationOptions> for DocumentOnTypeFormattingRegistrationOptions[src]

impl Serialize for DocumentOnTypeFormattingRegistrationOptions[src]

impl StructuralEq for DocumentOnTypeFormattingRegistrationOptions[src]

impl StructuralPartialEq for DocumentOnTypeFormattingRegistrationOptions[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.