Enum lsp::types::TextDocumentSaveReason [−][src]
pub enum TextDocumentSaveReason { Manual, AfterDelay, FocusOut, }
Represents reasons why a text document is saved.
Variants
Manual
Manually triggered, e.g. by the user pressing save, by starting debugging, or by an API call.
AfterDelay
Automatic after a delay.
FocusOut
When the editor lost focus.
Trait Implementations
impl Debug for TextDocumentSaveReason
[src]
impl Debug for TextDocumentSaveReason
Auto Trait Implementations
impl Send for TextDocumentSaveReason
impl Send for TextDocumentSaveReason
impl Sync for TextDocumentSaveReason
impl Sync for TextDocumentSaveReason