typst::foundations

Trait PlainText

source
pub trait PlainText {
    // Required method
    fn plain_text(&self, text: &mut EcoString);
}
Expand description

Tries to extract the plain-text representation of the element.

Required Methods§

source

fn plain_text(&self, text: &mut EcoString)

Write this element’s plain text into the given buffer.

Implementors§