[−][src]Struct html2text::RenderedText
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,
D: RefUnwindSafe,
<D as TextDecorator>::Annotation: RefUnwindSafe,
impl<D> Send for RenderedText<D> where
D: Send,
<D as TextDecorator>::Annotation: Send,
D: Send,
<D as TextDecorator>::Annotation: Send,
impl<D> Sync for RenderedText<D> where
D: Sync,
<D as TextDecorator>::Annotation: Sync,
D: Sync,
<D as TextDecorator>::Annotation: Sync,
impl<D> Unpin for RenderedText<D> where
D: Unpin,
<D as TextDecorator>::Annotation: Unpin,
D: Unpin,
<D as TextDecorator>::Annotation: Unpin,
impl<D> UnwindSafe for RenderedText<D> where
D: UnwindSafe,
<D as TextDecorator>::Annotation: UnwindSafe,
D: UnwindSafe,
<D as TextDecorator>::Annotation: UnwindSafe,
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, 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>,