Trait Strikethrough

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

An extension trait for strikethrough transformations.

Required Methods§

Source

fn to_strikethrough(&self) -> String

Transforms the given text to be strikethrough.

Implementors§

Source§

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