Enum html2text::render::text_renderer::RichAnnotation [] [src]

pub enum RichAnnotation {
    Default,
    Link(String),
    Image,
    Emphasis,
}

Annotation type for "rich" text. Text is associated with a set of these.

Variants

Normal text.

A link with the target.

An image (attached to the title text)

Emphasised text, which might be rendered in bold or another colour.

Trait Implementations

impl PartialEq for RichAnnotation
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for RichAnnotation
[src]

impl Clone for RichAnnotation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for RichAnnotation
[src]

Formats the value using the given formatter.

impl Default for RichAnnotation
[src]

Returns the "default value" for a type. Read more