Skip to main content

figure_html_into

Function figure_html_into 

Source
pub fn figure_html_into(figure: &Figure<'_>, opts: &Emit, out: &mut String)
Expand description

One figure, written into a buffer the caller already has.

figure_html’s streaming form, byte-identical to it. The accessible name is escaped a piece at a time rather than built and then escaped, which is the same output for one allocation fewer: the separators figure_text puts between the pieces contain nothing an escaper would encode.