Function modeling::by_files[][src]

pub fn by_files(files: Vec<String>) -> Vec<ClassInfo>

Returns Vec with the given files.

Arguments

  • files - code files in string

Examples

use modeling::{by_files};
use modeling::render::PlantUmlRender;

let mut files = vec![];
files.push("src/lib.rs".to_string());
let classes = by_files(files);
let puml = PlantUmlRender::render(&classes);