pub trait TModule {
Show 13 methods
fn init(&self, info: MRef) -> Result<(), String>;
fn get_name(&self) -> String;
fn get_desc(&self) -> String;
fn init_settings(&self, data: &mut Data);
fn init_element_settings(&self, data: &mut Data);
fn init_element(&self, element: ERow);
fn step_element(
&self,
element: ERow,
control_flow: &mut ControlFlow,
storage: &mut Storage
);
fn accept_extension(&self, filename: &str) -> bool;
fn accept_url(&self, uri: Url) -> bool;
fn init_location(&self, location: LRef, data: FileOrData);
fn step_location(
&self,
location: LRow,
control_flow: &mut ControlFlow,
storage: &mut Storage
);
fn notify(&self, info: Ref, event: Event);
fn c(&self) -> Box<dyn TModule>;
}
Performs copy-assignment from
source
.
Read more