Trait flo_http_ui::ToHtml
[−]
[src]
pub trait ToHtml { fn to_html_subcomponent(
&self,
base_path: &str,
controller_path: &str
) -> DomNode; fn to_html(&self, base_path: &str) -> DomNode { ... } }
Trait implemented by things that can be represented by HTML
Required Methods
fn to_html_subcomponent(
&self,
base_path: &str,
controller_path: &str
) -> DomNode
&self,
base_path: &str,
controller_path: &str
) -> DomNode
Converts this object to HTML, when it's a subcomponent. The controller path is a string indicating where the controller for this item can be found.
Provided Methods
fn to_html(&self, base_path: &str) -> DomNode
Converts this object to HTML. The base path specifies where resources can be found.