Struct tbot::markup::InlineCode
source · pub struct InlineCode<T>(_);
Expand description
Formats an inline piece of code. Can be created with inline_code
.
Trait Implementations§
source§impl<T: Clone> Clone for InlineCode<T>
impl<T: Clone> Clone for InlineCode<T>
source§fn clone(&self) -> InlineCode<T>
fn clone(&self) -> InlineCode<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 InlineCode<T>
impl<T: Debug> Debug for InlineCode<T>
source§impl<T> Formattable for InlineCode<T>where
T: Deref<Target = str>,
impl<T> Formattable for InlineCode<T>where
T: Deref<Target = str>,
source§impl<T: Hash> Hash for InlineCode<T>
impl<T: Hash> Hash for InlineCode<T>
source§impl<T: PartialEq> PartialEq<InlineCode<T>> for InlineCode<T>
impl<T: PartialEq> PartialEq<InlineCode<T>> for InlineCode<T>
source§fn eq(&self, other: &InlineCode<T>) -> bool
fn eq(&self, other: &InlineCode<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.