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
Object Safety§
This trait is not object safe.