Function mathemascii::write_mathml

source ·
pub fn write_mathml<'w, W>(
    ascii_math: AsciiMath<'_>,
    writer: &'w mut W
) -> Result<&'w mut W, W::Error>
where W: Writer<Buffer = String>,
Expand description

Write an abstract syntax tree into the Writer. The resulting output is controlled by the implementation of passed in Writer.

Errors

The Writer may fail to write the mathml. In such case the error defined by the Writer implementation is returned.