pub trait CustomElementMetadata {
const CUSTOM_ELEMENT_NAME: &'static str;
const STATICS: &'static [&'static str] = _;
const TYPE_NAME: &'static str = _;
// Provided method
fn struct_name() -> &'static str { ... }
}Required Associated Constants§
const CUSTOM_ELEMENT_NAME: &'static str
Provided Associated Constants§
Provided Methods§
fn struct_name() -> &'static str
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.