Skip to main content

HTML

Trait HTML 

Source
pub trait HTML {
    // Required method
    fn render(&self) -> String;
}
Expand description

Html render plugin

Required Methods§

Source

fn render(&self) -> String

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl HTML for String

Source§

fn render(&self) -> String

Implementors§