pub trait Drawer {
    fn draw(&self, file_name: &Path, embedding: &[PlacedTreeItem]) -> Result;
}
Expand description

By implementing this trait anyone can provide his own drawer, for instance one that draws onto a bitmap, if he don’t want to use the SvgDrawer used by the crate by default.

Required Methods

Implementors

The concrete implementation of the Drawer trait for SvgDrawer.