Enum lsp_types::TextDocumentSaveReason [−][src]
#[repr(u8)]
pub enum TextDocumentSaveReason {
Manual,
AfterDelay,
FocusOut,
}Expand description
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
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for TextDocumentSaveReasonimpl Send for TextDocumentSaveReasonimpl Sync for TextDocumentSaveReasonimpl Unpin for TextDocumentSaveReasonimpl UnwindSafe for TextDocumentSaveReasonBlanket Implementations
Mutably borrows from an owned value. Read more