pub enum RichText {
Show 17 variants
Anchor(RichTextAnchor),
AnchorLink(RichTextAnchorLink),
Bold(RichTextBold),
EmailAddress(RichTextEmailAddress),
Fixed(RichTextFixed),
Icon(RichTextIcon),
Italic(RichTextItalic),
Marked(RichTextMarked),
PhoneNumber(RichTextPhoneNumber),
Plain(RichTextPlain),
Reference(RichTextReference),
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
Anchor(RichTextAnchor)
An anchor
AnchorLink(RichTextAnchorLink)
A link to an anchor on the same web page
Bold(RichTextBold)
A bold rich text
EmailAddress(RichTextEmailAddress)
A rich text email link
Fixed(RichTextFixed)
A fixed-width rich text
Icon(RichTextIcon)
A small image inside the text
Italic(RichTextItalic)
An italicized rich text
Marked(RichTextMarked)
A marked rich text
PhoneNumber(RichTextPhoneNumber)
A rich text phone number
Plain(RichTextPlain)
A plain text
Reference(RichTextReference)
A reference to a richTexts object on the same web page
Strikethrough(RichTextStrikethrough)
A strikethrough rich text
Subscript(RichTextSubscript)
A subscript rich text
Superscript(RichTextSuperscript)
A superscript rich text
Underline(RichTextUnderline)
An underlined rich text
Url(RichTextUrl)
A rich text URL link
RichTexts(RichTexts)
A concatenation of rich texts
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RichText
impl UnwindSafe for RichText
Blanket Implementations
Mutably borrows from an owned value. Read more