[][src]Struct cursive_markup::RenderedDocument

pub struct RenderedDocument { /* fields omitted */ }

A rendered hypertext document that consists of lines of formatted text and links.

Implementations

impl RenderedDocument[src]

pub fn new(constraint: XY<usize>) -> RenderedDocument[src]

Creates a new rendered document with the given size constraint.

The size constraint is used to check whether a cached document can be reused or whether it has to be rendered for the new constraint. It is not enforced by this struct!

pub fn push_line<I: IntoIterator<Item = Element>>(&mut self, line: I)[src]

Appends a rendered line to the document.

Trait Implementations

impl Clone for RenderedDocument[src]

impl Debug for RenderedDocument[src]

Auto Trait Implementations

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> Erased for T

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<T> With for T