pub trait dshow_IGraphBuilder: dshow_IFilterGraph {
// Provided methods
fn Abort(&self) -> HrResult<()> { ... }
fn AddSourceFilter(
&self,
file_name: &str,
filter_name: &str,
) -> HrResult<IBaseFilter> { ... }
fn Connect(
&self,
pin_out: &impl dshow_IPin,
pin_in: &impl dshow_IPin,
) -> HrResult<()> { ... }
fn Render(&self, pin_out: &impl dshow_IPin) -> HrResult<()> { ... }
fn RenderFile(&self, file: &str) -> HrResult<()> { ... }
fn SetLogFile(&self, hfile: Option<&HFILE>) -> HrResult<()> { ... }
fn ShouldOperationContinue(&self) -> HrResult<bool> { ... }
}
Available on crate features
kernel
and dshow
only.Expand description
This trait is enabled with the dshow
feature, and provides methods for
IGraphBuilder
.
Prefer importing this trait through the prelude:
use winsafe::prelude::*;
Provided Methods§
Sourcefn Abort(&self) -> HrResult<()>
fn Abort(&self) -> HrResult<()>
IGraphBuilder::Abort
method.
Sourcefn AddSourceFilter(
&self,
file_name: &str,
filter_name: &str,
) -> HrResult<IBaseFilter>
fn AddSourceFilter( &self, file_name: &str, filter_name: &str, ) -> HrResult<IBaseFilter>
IGraphBuilder::AddSourceFilter
method.
Sourcefn Connect(
&self,
pin_out: &impl dshow_IPin,
pin_in: &impl dshow_IPin,
) -> HrResult<()>
fn Connect( &self, pin_out: &impl dshow_IPin, pin_in: &impl dshow_IPin, ) -> HrResult<()>
IGraphBuilder::Connect
method.
Sourcefn Render(&self, pin_out: &impl dshow_IPin) -> HrResult<()>
fn Render(&self, pin_out: &impl dshow_IPin) -> HrResult<()>
IGraphBuilder::Render
method.
Sourcefn RenderFile(&self, file: &str) -> HrResult<()>
fn RenderFile(&self, file: &str) -> HrResult<()>
IGraphBuilder::RenderFile
method.
Sourcefn SetLogFile(&self, hfile: Option<&HFILE>) -> HrResult<()>
fn SetLogFile(&self, hfile: Option<&HFILE>) -> HrResult<()>
IGraphBuilder::SetLogFile
method.
Sourcefn ShouldOperationContinue(&self) -> HrResult<bool>
fn ShouldOperationContinue(&self) -> HrResult<bool>
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.