[−][src]Enum grammers_tl_types::enums::RichText
Variants
TextEmpty(TextEmpty)
TextPlain(TextPlain)
TextItalic(Box<TextItalic>)
TextUnderline(Box<TextUnderline>)
TextStrike(Box<TextStrike>)
TextConcat(TextConcat)
TextSubscript(Box<TextSubscript>)
TextSuperscript(Box<TextSuperscript>)
TextMarked(Box<TextMarked>)
TextImage(TextImage)
TextAnchor(Box<TextAnchor>)
Trait Implementations
impl Clone for RichText
[src]
impl Debug for RichText
[src]
impl Deserializable for RichText
[src]
fn deserialize(buf: &'a mut Cursor<'b>) -> Result<Self, DeserializeError>
[src]
fn from_bytes(buf: &[u8]) -> Result<Self, DeserializeError> where
Self: Sized,
[src]
Self: Sized,
impl From<TextAnchor> for RichText
[src]
fn from(x: TextAnchor) -> Self
[src]
impl From<TextBold> for RichText
[src]
impl From<TextConcat> for RichText
[src]
fn from(x: TextConcat) -> Self
[src]
impl From<TextEmail> for RichText
[src]
impl From<TextEmpty> for RichText
[src]
impl From<TextFixed> for RichText
[src]
impl From<TextImage> for RichText
[src]
impl From<TextItalic> for RichText
[src]
fn from(x: TextItalic) -> Self
[src]
impl From<TextMarked> for RichText
[src]
fn from(x: TextMarked) -> Self
[src]
impl From<TextPhone> for RichText
[src]
impl From<TextPlain> for RichText
[src]
impl From<TextStrike> for RichText
[src]
fn from(x: TextStrike) -> Self
[src]
impl From<TextSubscript> for RichText
[src]
fn from(x: TextSubscript) -> Self
[src]
impl From<TextSuperscript> for RichText
[src]
fn from(x: TextSuperscript) -> Self
[src]
impl From<TextUnderline> for RichText
[src]
fn from(x: TextUnderline) -> Self
[src]
impl From<TextUrl> for RichText
[src]
impl PartialEq<RichText> for RichText
[src]
impl Serializable for RichText
[src]
impl StructuralPartialEq for RichText
[src]
impl TryFrom<RichText> for TextAnchor
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: RichText) -> Result<Self, Self::Error>
[src]
impl TryFrom<RichText> for TextBold
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: RichText) -> Result<Self, Self::Error>
[src]
impl TryFrom<RichText> for TextPlain
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: RichText) -> Result<Self, Self::Error>
[src]
impl TryFrom<RichText> for TextStrike
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: RichText) -> Result<Self, Self::Error>
[src]
impl TryFrom<RichText> for TextSubscript
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: RichText) -> Result<Self, Self::Error>
[src]
impl TryFrom<RichText> for TextSuperscript
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: RichText) -> Result<Self, Self::Error>
[src]
impl TryFrom<RichText> for TextUnderline
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: RichText) -> Result<Self, Self::Error>
[src]
impl TryFrom<RichText> for TextUrl
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: RichText) -> Result<Self, Self::Error>
[src]
impl TryFrom<RichText> for TextConcat
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: RichText) -> Result<Self, Self::Error>
[src]
impl TryFrom<RichText> for TextEmail
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: RichText) -> Result<Self, Self::Error>
[src]
impl TryFrom<RichText> for TextEmpty
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: RichText) -> Result<Self, Self::Error>
[src]
impl TryFrom<RichText> for TextFixed
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: RichText) -> Result<Self, Self::Error>
[src]
impl TryFrom<RichText> for TextImage
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: RichText) -> Result<Self, Self::Error>
[src]
impl TryFrom<RichText> for TextItalic
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: RichText) -> Result<Self, Self::Error>
[src]
impl TryFrom<RichText> for TextMarked
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: RichText) -> Result<Self, Self::Error>
[src]
impl TryFrom<RichText> for TextPhone
[src]
Auto Trait Implementations
impl RefUnwindSafe for RichText
impl Send for RichText
impl Sync for RichText
impl Unpin for RichText
impl UnwindSafe for RichText
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,