pub trait InputDraftAlg {
// Required methods
fn input_draft(&self) -> &str;
fn set_input_draft(&mut self, draft: String);
}Expand description
Specifies input-editor draft storage.
Required Methods§
Sourcefn input_draft(&self) -> &str
fn input_draft(&self) -> &str
Observes the input editor draft.
Sourcefn set_input_draft(&mut self, draft: String)
fn set_input_draft(&mut self, draft: String)
Replaces the input editor draft.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".