Trait Bold

Source
pub trait Bold {
    // Required method
    fn to_bold(&self) -> String;
}
Expand description

An extension trait for bold transformations.

Required Methods§

Source

fn to_bold(&self) -> String

Transforms the given text into its bold version.

Implementors§

Source§

impl<T> Bold for T
where T: AsRef<str>,