pub trait semantics {
const semantics: ElementBuilder<SemanticsElement, (), ()>;
}Expand description
Per-element trait carrying the element as an associated const on the
shared html root, so html::#name resolves wherever this trait is
in scope. Other vocabularies extend the same root the same way.
Required Associated Constants§
Sourceconst semantics: ElementBuilder<SemanticsElement, (), ()>
const semantics: ElementBuilder<SemanticsElement, (), ()>
Build a
<semantics>
element.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".