Expand description
Conversion methods for genpdf’s text style types.
Requires the genpdf feature.
This module implements these conversions:
Colortogenpdf::style::ColorStyletogenpdf::style::StyleStyledStrandStyledStringtogenpdf::style::StyledStrandgenpdf::style::StyledString
§Example
Adding a string to a paragraph:
let text = text_style::StyledStr::plain("test").bold();
let p = genpdf::elements::Paragraph::new(text);