Trait flag_algebra::tools::Html

source ·
pub trait Html {
    const LATEX: bool = false;

    // Required method
    fn print_html<W: Write>(&self, w: &mut W) -> Result<()>;

    // Provided method
    fn html(&self, name: &str) -> Result<()> { ... }
}
Expand description

Describe element in an html page

Provided Associated Constants§

source

const LATEX: bool = false

Required Methods§

source

fn print_html<W: Write>(&self, w: &mut W) -> Result<()>

Provided Methods§

source

fn html(&self, name: &str) -> Result<()>

True if Mathjax need to be loaded

Implementations on Foreign Types§

source§

impl<G: Draw, F, L> Html for (&[G], F)where F: FnMut(&G) -> L + Clone, L: Display,

source§

const LATEX: bool = false

source§

fn print_html<W: Write>(&self, w: &mut W) -> Result<()>

Implementors§

source§

impl<F> Html for Basis<F>where F: Flag + Draw,

source§

const LATEX: bool = false

source§

impl<F, N> Html for QFlag<N, F>where F: Flag + Draw, N: Num + Clone + Display + FromPrimitive,

source§

const LATEX: bool = false

source§

impl<F: Draw> Html for F