2016-02-17 15:33:41 +00:00
|
|
|
use std::fmt::Debug;
|
|
|
|
|
|
|
|
use toml::Value;
|
|
|
|
|
2016-03-04 15:43:01 +00:00
|
|
|
pub mod accessor;
|
2016-03-04 16:07:54 +00:00
|
|
|
pub mod aspect;
|
2016-03-04 15:43:01 +00:00
|
|
|
pub mod error;
|
2016-03-04 19:30:12 +00:00
|
|
|
pub mod position;
|
2016-03-04 15:43:01 +00:00
|
|
|
pub mod result;
|
|
|
|
|
2016-03-04 18:19:54 +00:00
|
|
|
use hook::accessor::HookDataAccessorProvider;
|
|
|
|
|
|
|
|
pub trait Hook : HookDataAccessorProvider + Debug + Send + Sync {
|
2016-03-05 17:07:54 +00:00
|
|
|
fn name(&self) -> &'static str;
|
|
|
|
fn set_config(&mut self, cfg: &Value);
|
2016-02-17 15:33:41 +00:00
|
|
|
}
|
|
|
|
|