imag/libimagstore/src/hook/mod.rs

18 lines
319 B
Rust
Raw Normal View History

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;
use hook::accessor::HookDataAccessorProvider;
pub trait Hook : HookDataAccessorProvider + Debug + Send + Sync {
fn name(&self) -> &'static str;
fn set_config(&mut self, cfg: &Value);
}