Enum rtdlib::types::RichText [−][src]
pub enum RichText {
Show 15 variants
Anchor(RichTextAnchor),
Bold(RichTextBold),
EmailAddress(RichTextEmailAddress),
Fixed(RichTextFixed),
Icon(RichTextIcon),
Italic(RichTextItalic),
Marked(RichTextMarked),
PhoneNumber(RichTextPhoneNumber),
Plain(RichTextPlain),
Strikethrough(RichTextStrikethrough),
Subscript(RichTextSubscript),
Superscript(RichTextSuperscript),
Underline(RichTextUnderline),
Url(RichTextUrl),
RichTexts(RichTexts),
// some variants omitted
}
Expand description
Describes a text object inside an instant-view web page
Variants
A rich text anchor
Tuple Fields of Anchor
A bold rich text
Tuple Fields of Bold
0: RichTextBold
A rich text email link
Tuple Fields of EmailAddress
A fixed-width rich text
Tuple Fields of Fixed
A small image inside the text
Tuple Fields of Icon
0: RichTextIcon
An italicized rich text
Tuple Fields of Italic
A marked rich text
Tuple Fields of Marked
A rich text phone number
Tuple Fields of PhoneNumber
A plain text
Tuple Fields of Plain
A strike-through rich text
Tuple Fields of Strikethrough
A subscript rich text
Tuple Fields of Subscript
A superscript rich text
Tuple Fields of Superscript
An underlined rich text
Tuple Fields of Underline
A rich text URL link
Tuple Fields of Url
0: RichTextUrl
A concatenation of rich texts
Tuple Fields of RichTexts
0: RichTexts
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RichText
impl UnwindSafe for RichText
Blanket Implementations
Mutably borrows from an owned value. Read more