Trait lenna_core::core::processor::Processor[][src]

pub trait Processor: ImageProcessor + ExifProcessor + DynClone {
    fn name(&self) -> String;
fn title(&self) -> String;
fn author(&self) -> String;
fn description(&self) -> String;
fn process(
        &mut self,
        config: ProcessorConfig,
        image: &mut Box<LennaImage>
    ) -> Result<(), Box<dyn Error>>;
fn default_config(&self) -> Value; fn id(&self) -> String { ... }
fn version(&self) -> String { ... }
fn set_config(&mut self, _config: Value) { ... }
fn config_ui(&self) -> Option<String> { ... }
fn icon(&self) -> Option<Vec<u8>> { ... } }
Expand description

trait for processors

Required methods

Provided methods

Implementors