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§
fn get_id() -> ObsString
fn create( context: &mut CreatableOutputContext<'_, Self>, output: OutputContext, ) -> Self
Provided Methods§
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.