[−][src]Enum html2text::render::text_renderer::RichAnnotation
Annotation type for "rich" text. Text is associated with a set of these.
Variants
Normal text.
Link(String)
A link with the target.
An image (attached to the title text)
Emphasised text, which might be rendered in bold or another colour.
Strong text, which might be rendered in bold or another colour.
Code
Preformat(bool)
Preformatted; true if a continuation line for an overly-long line.
Trait Implementations
impl Clone for RichAnnotation
[src]
fn clone(&self) -> RichAnnotation
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RichAnnotation
[src]
impl Default for RichAnnotation
[src]
impl Eq for RichAnnotation
[src]
impl PartialEq<RichAnnotation> for RichAnnotation
[src]
fn eq(&self, other: &RichAnnotation) -> bool
[src]
fn ne(&self, other: &RichAnnotation) -> bool
[src]
impl StructuralEq for RichAnnotation
[src]
impl StructuralPartialEq for RichAnnotation
[src]
Auto Trait Implementations
impl RefUnwindSafe for RichAnnotation
impl Send for RichAnnotation
impl Sync for RichAnnotation
impl Unpin for RichAnnotation
impl UnwindSafe for RichAnnotation
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>,