Trait IMFMediaSink_Impl
pub trait IMFMediaSink_Impl: IUnknownImpl {
// Required methods
fn GetCharacteristics(&self) -> Result<u32>;
fn AddStreamSink(
&self,
dwstreamsinkidentifier: u32,
pmediatype: Ref<'_, IMFMediaType>,
) -> Result<IMFStreamSink>;
fn RemoveStreamSink(&self, dwstreamsinkidentifier: u32) -> Result<()>;
fn GetStreamSinkCount(&self) -> Result<u32>;
fn GetStreamSinkByIndex(&self, dwindex: u32) -> Result<IMFStreamSink>;
fn GetStreamSinkById(
&self,
dwstreamsinkidentifier: u32,
) -> Result<IMFStreamSink>;
fn SetPresentationClock(
&self,
ppresentationclock: Ref<'_, IMFPresentationClock>,
) -> Result<()>;
fn GetPresentationClock(&self) -> Result<IMFPresentationClock>;
fn Shutdown(&self) -> Result<()>;
}
Required Methods§
fn GetCharacteristics(&self) -> Result<u32>
fn AddStreamSink( &self, dwstreamsinkidentifier: u32, pmediatype: Ref<'_, IMFMediaType>, ) -> Result<IMFStreamSink>
fn RemoveStreamSink(&self, dwstreamsinkidentifier: u32) -> Result<()>
fn GetStreamSinkCount(&self) -> Result<u32>
fn GetStreamSinkByIndex(&self, dwindex: u32) -> Result<IMFStreamSink>
fn GetStreamSinkById( &self, dwstreamsinkidentifier: u32, ) -> Result<IMFStreamSink>
fn SetPresentationClock( &self, ppresentationclock: Ref<'_, IMFPresentationClock>, ) -> Result<()>
fn GetPresentationClock(&self) -> Result<IMFPresentationClock>
fn Shutdown(&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.