windows::Win32::Media::DirectShow

Trait IGraphBuilder_Impl

pub trait IGraphBuilder_Impl: IFilterGraph_Impl {
    // Required methods
    fn Connect(
        &self,
        ppinout: Ref<'_, IPin>,
        ppinin: Ref<'_, IPin>,
    ) -> Result<()>;
    fn Render(&self, ppinout: Ref<'_, IPin>) -> Result<()>;
    fn RenderFile(
        &self,
        lpcwstrfile: &PCWSTR,
        lpcwstrplaylist: &PCWSTR,
    ) -> Result<()>;
    fn AddSourceFilter(
        &self,
        lpcwstrfilename: &PCWSTR,
        lpcwstrfiltername: &PCWSTR,
    ) -> Result<IBaseFilter>;
    fn SetLogFile(&self, hfile: usize) -> Result<()>;
    fn Abort(&self) -> Result<()>;
    fn ShouldOperationContinue(&self) -> Result<()>;
}

Required Methods§

fn Connect(&self, ppinout: Ref<'_, IPin>, ppinin: Ref<'_, IPin>) -> Result<()>

fn Render(&self, ppinout: Ref<'_, IPin>) -> Result<()>

fn RenderFile( &self, lpcwstrfile: &PCWSTR, lpcwstrplaylist: &PCWSTR, ) -> Result<()>

fn AddSourceFilter( &self, lpcwstrfilename: &PCWSTR, lpcwstrfiltername: &PCWSTR, ) -> Result<IBaseFilter>

fn SetLogFile(&self, hfile: usize) -> Result<()>

fn Abort(&self) -> Result<()>

fn ShouldOperationContinue(&self) -> Result<()>

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§