[][src]Trait obs_wrapper::module::Module

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

fn new(ctx: ModuleContext) -> Self

fn get_ctx(&self) -> &ModuleContext

fn description() -> ObsString

fn name() -> ObsString

fn author() -> ObsString

Loading content...

Provided methods

fn load(&mut self, _load_context: &mut LoadContext) -> bool

fn unload(&mut self)

fn post_load(&mut self)

Loading content...

Implementors

Loading content...