Struct tbot::markup::Strikethrough
source · pub struct Strikethrough<T>(_);
Expand description
Formats text with strikethrough. Can be created with strikethrough
.
Trait Implementations§
source§impl<T: Clone> Clone for Strikethrough<T>
impl<T: Clone> Clone for Strikethrough<T>
source§fn clone(&self) -> Strikethrough<T>
fn clone(&self) -> Strikethrough<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug> Debug for Strikethrough<T>
impl<T: Debug> Debug for Strikethrough<T>
source§impl<T: Formattable> Formattable for Strikethrough<T>
impl<T: Formattable> Formattable for Strikethrough<T>
source§impl<T: Hash> Hash for Strikethrough<T>
impl<T: Hash> Hash for Strikethrough<T>
source§impl<T: PartialEq> PartialEq<Strikethrough<T>> for Strikethrough<T>
impl<T: PartialEq> PartialEq<Strikethrough<T>> for Strikethrough<T>
source§fn eq(&self, other: &Strikethrough<T>) -> bool
fn eq(&self, other: &Strikethrough<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.