pub trait InputType:
Clone
+ PartialEq
+ 'static {
// Required methods
fn as_text(&self) -> Cow<'_, str>;
fn from_text(text: &str) -> Option<Self>;
}Expand description
Value type that an Input can edit through its text representation.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.