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 TextDocumentSaveReason
impl Send for TextDocumentSaveReason
impl Sync for TextDocumentSaveReason
impl Unpin for TextDocumentSaveReason
impl UnwindSafe for TextDocumentSaveReason
Blanket Implementations
Mutably borrows from an owned value. Read more