[][src]Trait cursive_markup::Renderer

pub trait Renderer {
    fn render(&self, constraint: XY<usize>) -> RenderedDocument;
}

A renderer that produces a hypertext document.

Required methods

fn render(&self, constraint: XY<usize>) -> RenderedDocument

Renders this document within the given size constraint and returns the result.

This method is called by MarkupView every time the provided width changes.

Loading content...

Implementors

impl<D: TextDecorator + Clone, C: Converter<D::Annotation>> Renderer for Renderer<D, C>[src]

Loading content...