Trait addin1c::SimpleAddin
source · pub trait SimpleAddin {
// Required method
fn name() -> &'static [u16];
// Provided methods
fn get_info() -> u16 { ... }
fn save_error(&mut self, err: Option<Box<dyn Error>>) { ... }
fn methods() -> &'static [MethodInfo<Self>]
where Self: Sized { ... }
fn properties() -> &'static [PropInfo<Self>]
where Self: Sized { ... }
}Required Methods§
Provided Methods§
fn get_info() -> u16
fn save_error(&mut self, err: Option<Box<dyn Error>>)
fn methods() -> &'static [MethodInfo<Self>]where
Self: Sized,
fn properties() -> &'static [PropInfo<Self>]where
Self: Sized,
Object Safety§
This trait is not object safe.