snipdoc 0.1.12

Code Documentation Made Simple
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub mod console;
pub mod table;
use std::{collections::BTreeMap, path::Path};

use crate::parser::{
    injector::{InjectSnippets, InjectStats},
    Snippet,
};

pub trait ReporterOutput: Sync {
    fn snippets(&self, root_folder: &Path, snippets: &BTreeMap<String, Snippet>);
    fn inject(&self, root_folder: &Path, result: &InjectSnippets);
    fn check(&self, _root_folder: &Path, _result: &InjectStats) {}
}