Outputable

Trait Outputable 

Source
pub trait Outputable: Sized {
    // Required methods
    fn get_id() -> ObsString;
    fn create(
        context: &mut CreatableOutputContext<'_, Self>,
        output: OutputContext,
    ) -> Self;

    // Provided methods
    fn start(&mut self) -> bool { ... }
    fn stop(&mut self, _ts: u64) { ... }
}

Required Methods§

Source

fn get_id() -> ObsString

Source

fn create( context: &mut CreatableOutputContext<'_, Self>, output: OutputContext, ) -> Self

Provided Methods§

Source

fn start(&mut self) -> bool

Source

fn stop(&mut self, _ts: u64)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§