Trait id_tree_layout::drawer::Drawer
source · [−]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
source