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_row: ERow); fn step_element(
        &self,
        element_row: ERow,
        control_flow: &mut ControlFlow,
        storage: &mut Storage
    ); fn accept_extension(&self, filename: &str) -> bool; fn accept_url(&self, url: Url) -> bool; fn init_location(&self, location_ref: LRef, data: FileOrData); fn step_location(
        &self,
        location_row: LRow,
        control_flow: &mut ControlFlow,
        storage: &mut Storage
    ); fn notify(&self, _ref: Ref, event: Event); fn c(&self) -> Box<dyn TModule>;
}

Required Methods§

source

fn init(&self, info: MRef) -> Result<(), String>

source

fn get_name(&self) -> String

source

fn get_desc(&self) -> String

source

fn init_settings(&self, data: &mut Data)

source

fn init_element_settings(&self, data: &mut Data)

source

fn init_element(&self, element_row: ERow)

source

fn step_element(
    &self,
    element_row: ERow,
    control_flow: &mut ControlFlow,
    storage: &mut Storage
)

source

fn accept_extension(&self, filename: &str) -> bool

source

fn accept_url(&self, url: Url) -> bool

source

fn init_location(&self, location_ref: LRef, data: FileOrData)

source

fn step_location(
    &self,
    location_row: LRow,
    control_flow: &mut ControlFlow,
    storage: &mut Storage
)

source

fn notify(&self, _ref: Ref, event: Event)

source

fn c(&self) -> Box<dyn TModule>

Trait Implementations§

source§

impl Clone for Box<dyn TModule>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementations on Foreign Types§

source§

impl TModule for Arc<RawModule>

source§

fn init(&self, info: MRef) -> Result<(), String>

source§

fn get_name(&self) -> String

source§

fn get_desc(&self) -> String

source§

fn init_settings(&self, data: &mut Data)

source§

fn init_element_settings(&self, data: &mut Data)

source§

fn init_element(&self, element: ERow)

source§

fn step_element(
    &self,
    element: ERow,
    control_flow: &mut ControlFlow,
    storage: &mut Storage
)

source§

fn accept_extension(&self, filename: &str) -> bool

source§

fn accept_url(&self, url: Url) -> bool

source§

fn init_location(&self, location: LRef, data: FileOrData)

source§

fn notify(&self, info: Ref, event: Event)

source§

fn step_location(
    &self,
    location: LRow,
    control_flow: &mut ControlFlow,
    storage: &mut Storage
)

source§

fn c(&self) -> Box<dyn TModule>

Implementors§