pub trait ILoad {
type InputType;
// Required methods
fn load(&mut self, _: Self::InputType) -> Result<(), &'static str>;
fn apply(&mut self) -> Result<bool, &'static str>;
}
Expand description
trait for loading and applying data to a concrete data structure