15 lines
259 B
Rust
15 lines
259 B
Rust
use std::fmt::Debug;
|
|
|
|
use clap::ArgMatches;
|
|
|
|
pub mod bm;
|
|
pub mod helpers;
|
|
|
|
/**
|
|
* Module interface, each module has to implement this.
|
|
*/
|
|
pub trait Module<'a> : Debug {
|
|
fn exec(&self, matches: &ArgMatches) -> bool;
|
|
fn name(&self) -> &'static str;
|
|
}
|
|
|