pub trait UiMap {
// Required method
fn ui_fields(&self) -> impl Iterator<Item = (&str, Cow<'_, str>)>;
// Provided method
fn ui_serialize(&self) -> HashMap<&str, Cow<'_, str>> { ... }
}Expand description
Collections of name - value pairs, for HTML pages
Required Methods§
Provided 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.