Enum lsp::types::TextDocumentSaveReason[][src]

pub enum TextDocumentSaveReason {
    Manual,
    AfterDelay,
    FocusOut,
}

Represents reasons why a text document is saved.

Variants

Manually triggered, e.g. by the user pressing save, by starting debugging, or by an API call.

Automatic after a delay.

When the editor lost focus.

Trait Implementations

impl Debug for TextDocumentSaveReason
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations