pub trait Strikethrough {
// Required method
fn to_strikethrough(&self) -> String;
}Expand description
An extension trait for strikethrough transformations.
Required Methods§
Sourcefn to_strikethrough(&self) -> String
fn to_strikethrough(&self) -> String
Transforms the given text to be strikethrough.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".