Skip to main content

DocumentExt

Trait DocumentExt 

Source
pub trait DocumentExt {
    // Required method
    fn into_html(self) -> String;
}
Expand description

Methods for easy handling of an HTML document.

Required Methods§

Source

fn into_html(self) -> String

Converts the given node to an HTML string.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§