pub trait Show: Sized {
// Required methods
fn widget() -> Widget;
fn parse(raw: &str) -> Result<Self, StoreError>;
fn text(&self) -> String;
}Expand description
Human presentation of a stored type: widget, parsing, and text.
Required Methods§
Sourcefn parse(raw: &str) -> Result<Self, StoreError>
fn parse(raw: &str) -> Result<Self, StoreError>
Parses raw user input into a Self.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".