Trait IMFMediaSource_Impl
pub trait IMFMediaSource_Impl: IMFMediaEventGenerator_Impl {
// Required methods
fn GetCharacteristics(&self) -> Result<u32>;
fn CreatePresentationDescriptor(&self) -> Result<IMFPresentationDescriptor>;
fn Start(
&self,
ppresentationdescriptor: Ref<'_, IMFPresentationDescriptor>,
pguidtimeformat: *const GUID,
pvarstartposition: *const PROPVARIANT,
) -> Result<()>;
fn Stop(&self) -> Result<()>;
fn Pause(&self) -> Result<()>;
fn Shutdown(&self) -> Result<()>;
}
Required Methods§
fn GetCharacteristics(&self) -> Result<u32>
fn CreatePresentationDescriptor(&self) -> Result<IMFPresentationDescriptor>
fn Start( &self, ppresentationdescriptor: Ref<'_, IMFPresentationDescriptor>, pguidtimeformat: *const GUID, pvarstartposition: *const PROPVARIANT, ) -> Result<()>
fn Stop(&self) -> Result<()>
fn Pause(&self) -> Result<()>
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.