pub trait Element {
const NAMESPACE: &'static str;
const PREFIX: &'static str;
const LOCAL_NAME: &'static str;
}
Expand description
Declares an element’s namespace and tag
Required Associated Constants§
Sourceconst LOCAL_NAME: &'static str
const LOCAL_NAME: &'static str
The local name of the element (the name inside the namespace), e.g.
multistatus
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.