Add doc to Module trait
This commit is contained in:
parent
89cc625133
commit
dc181ba8eb
1 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,9 @@ use runtime::Runtime;
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue