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

A renderer that produces a hypertext document.

Required methods

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

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

Implementors