Expand description
Conversion methods for cursive’s text style types.
Requires the cursive feature.
This module implements these conversions:
AnsiColortocursive::theme::BaseColorColortocursive::theme::ColorEffecttocursive::theme::EffectStyletocursive::theme::StyleStyledStrandStyledStringtocursive::utils::markup::StyledString
§Example
Rendering a string:
let text = text_style::StyledStr::plain("test").bold();
let mut s = cursive::dummy();
s.add_layer(cursive::views::TextView::new(text));
s.add_global_callback('q', |s| s.quit());
s.run();