Struct rust_tdlib::types::RichTextIcon
source · [−]pub struct RichTextIcon { /* private fields */ }
Expand description
A small image inside the text
Implementations
Trait Implementations
sourceimpl AsRef<RichTextIcon> for RichTextIcon
impl AsRef<RichTextIcon> for RichTextIcon
sourcefn as_ref(&self) -> &RichTextIcon
fn as_ref(&self) -> &RichTextIcon
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for RichTextIcon
impl Clone for RichTextIcon
sourcefn clone(&self) -> RichTextIcon
fn clone(&self) -> RichTextIcon
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RichTextIcon
impl Debug for RichTextIcon
sourceimpl Default for RichTextIcon
impl Default for RichTextIcon
sourcefn default() -> RichTextIcon
fn default() -> RichTextIcon
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for RichTextIcon
impl<'de> Deserialize<'de> for RichTextIcon
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for RichTextIcon
impl Serialize for RichTextIcon
impl TDRichText for RichTextIcon
Auto Trait Implementations
impl RefUnwindSafe for RichTextIcon
impl Send for RichTextIcon
impl Sync for RichTextIcon
impl Unpin for RichTextIcon
impl UnwindSafe for RichTextIcon
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more