Function mml::src2both [] [src]

pub fn src2both<P: AsRef<Path>>(src: P, dest: P) -> Result<()>

The function src2both creates two files formated like a graph/dot and a structured vector graphics.

Examples

extern crate mml;

use std::path::PathBuf;

fn main() {
    let _ = mml::src2both(PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("src"),
                          PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("target")
                                                                   .join("doc")
                                                                   .join(env!("CARGO_PKG_NAME")));
}