pub trait ToHtmlString {
// Required method
fn to_html_string(self) -> Result<String, Error>;
}Expand description
Something that can be converted into an HTML string.
Required Methods§
Sourcefn to_html_string(self) -> Result<String, Error>
fn to_html_string(self) -> Result<String, Error>
Converts self into an HTML string.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".