Trait ObsSourceBuilder

Source
pub trait ObsSourceBuilder: ObsObjectBuilder {
    // Provided method
    fn add_to_scene<'a, 'async_trait>(
        self,
        scene: &'a mut ObsSceneRef,
    ) -> Pin<Box<dyn Future<Output = Result<ObsSourceRef, ObsError>> + Send + 'async_trait>>
       where Self: Sized + Send + 'async_trait,
             'a: 'async_trait { ... }
}

Provided Methods§

Source

fn add_to_scene<'a, 'async_trait>( self, scene: &'a mut ObsSceneRef, ) -> Pin<Box<dyn Future<Output = Result<ObsSourceRef, ObsError>> + Send + 'async_trait>>
where Self: Sized + Send + 'async_trait, 'a: 'async_trait,

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§