pub trait Elm {
// Required methods
fn elm_type() -> String;
fn elm_definition() -> Option<String>;
}Expand description
Used to represent Rust types in Elm.
Required Methods§
Sourcefn elm_definition() -> Option<String>
fn elm_definition() -> Option<String>
The definition of the type in Elm. None for types already defined in Elm.
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.