Trait tbot::markup::html::Formattable

source ·
pub trait Formattable {
    fn format(&self, formatter: &mut Formatter<'_>, _: Nesting) -> Result;
}
Expand description

Represents a value that can be formatted for HTML.

Required Methods§

Writes formatted value to the formatter.

Implementations on Foreign Types§

Implementors§