Trait cursive_markup::Renderer [−][src]
pub trait Renderer { fn render(&self, constraint: XY<usize>) -> RenderedDocument; }
Expand description
A renderer that produces a hypertext document.
Required methods
fn render(&self, constraint: XY<usize>) -> RenderedDocument
[src]
fn render(&self, constraint: XY<usize>) -> RenderedDocument
[src]Renders this document within the given size constraint and returns the result.
This method is called by MarkupView
every time the provided width changes.