pub trait HtmlComponent {
type Content: HtmlContent;
// Required method
fn into_content(self) -> Self::Content;
}Required Associated Types§
type Content: HtmlContent
Required Methods§
fn into_content(self) -> Self::Content
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".