pub fn src2both<P: AsRef<Path>>(src: P, dest: P) -> Result<()>
Expand description
The function src2both
creates two files formated like a graph/dot and a structured vector graphics.
Examples
extern crate rust2uml;
fn main() {
let dest: String = concat!("target/doc/", env!("CARGO_PKG_NAME")).to_string();
let _ = rust2uml::src2both("src", dest.replace("-", "_").as_str());
}