Trait ILoad

Source
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

Required Associated Types§

Required Methods§

Source

fn load(&mut self, _: Self::InputType) -> Result<(), &'static str>

Source

fn apply(&mut self) -> Result<bool, &'static str>

Implementors§

Source§

impl<T, V> ILoad for Piecewise<T, V>
where T: IInterpolate<V>, V: Clone,