Trait obs_wrapper::module::Module
source · [−]pub trait Module {
fn new(ctx: ModuleContext) -> Self;
fn get_ctx(&self) -> &ModuleContext;
fn description() -> ObsString;
fn name() -> ObsString;
fn author() -> ObsString;
fn load(&mut self, _load_context: &mut LoadContext) -> bool { ... }
fn unload(&mut self) { ... }
fn post_load(&mut self) { ... }
}Required Methods
source
fn new(ctx: ModuleContext) -> Self
source
fn get_ctx(&self) -> &ModuleContext
source
fn description() -> ObsString
Provided Methods
source