[][src]Struct html2text::RenderedText

pub struct RenderedText<D: TextDecorator>(_);

A rendered HTML document.

Implementations

impl<D: TextDecorator> RenderedText<D>[src]

pub fn into_string(self) -> String[src]

Convert the rendered HTML document to a string.

pub fn into_lines(self) -> Vec<TaggedLine<Vec<D::Annotation>>>[src]

Convert the rendered HTML document to a vector of lines with the annotations created by the decorator.

Auto Trait Implementations

impl<D> RefUnwindSafe for RenderedText<D> where
    D: RefUnwindSafe,
    <D as TextDecorator>::Annotation: RefUnwindSafe

impl<D> Send for RenderedText<D> where
    D: Send,
    <D as TextDecorator>::Annotation: Send

impl<D> Sync for RenderedText<D> where
    D: Sync,
    <D as TextDecorator>::Annotation: Sync

impl<D> Unpin for RenderedText<D> where
    D: Unpin,
    <D as TextDecorator>::Annotation: Unpin

impl<D> UnwindSafe for RenderedText<D> where
    D: UnwindSafe,
    <D as TextDecorator>::Annotation: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.