Struct lsp_types::TextDocumentSaveReason [−][src]
pub struct TextDocumentSaveReason(_);
Expand description
Represents reasons why a text document is saved.
Implementations
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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