pub trait HasElementName {
// Required method
fn element_name() -> &'static str;
}
Expand description
An element with a specific name.
Required Methods§
Sourcefn element_name() -> &'static str
fn element_name() -> &'static str
The name of the element.
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.