pub trait TextBodyExt {
// Required methods
fn paragraphs(&self) -> &[TextParagraph];
fn text(&self) -> String;
}Expand description
Extension trait for TextBody providing convenience methods.
Required Methods§
Sourcefn paragraphs(&self) -> &[TextParagraph]
fn paragraphs(&self) -> &[TextParagraph]
Get all paragraphs in the text body.
Implementors§
impl TextBodyExt for TextBody
Available on crate feature
dml-text only.