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
Default
Normal text.
Link(String)
A link with the target.
Image
An image (attached to the title text)
Emphasis
Emphasised text, which might be rendered in bold or another colour.
Trait Implementations
impl PartialEq for RichAnnotation
[src]
fn eq(&self, __arg_0: &RichAnnotation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RichAnnotation) -> bool
This method tests for !=
.
impl Eq for RichAnnotation
[src]
impl Clone for RichAnnotation
[src]
fn clone(&self) -> RichAnnotation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more