Skip to main content

InputDraftAlg

Trait InputDraftAlg 

Source
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§

Source

fn input_draft(&self) -> &str

Observes the input editor draft.

Source

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".

Implementors§