Trait IMFPresentationClock_Impl
pub trait IMFPresentationClock_Impl: IMFClock_Impl {
// Required methods
fn SetTimeSource(
&self,
ptimesource: Ref<'_, IMFPresentationTimeSource>,
) -> Result<()>;
fn GetTimeSource(&self) -> Result<IMFPresentationTimeSource>;
fn GetTime(&self) -> Result<i64>;
fn AddClockStateSink(
&self,
pstatesink: Ref<'_, IMFClockStateSink>,
) -> Result<()>;
fn RemoveClockStateSink(
&self,
pstatesink: Ref<'_, IMFClockStateSink>,
) -> Result<()>;
fn Start(&self, llclockstartoffset: i64) -> Result<()>;
fn Stop(&self) -> Result<()>;
fn Pause(&self) -> Result<()>;
}
Required Methods§
fn SetTimeSource( &self, ptimesource: Ref<'_, IMFPresentationTimeSource>, ) -> Result<()>
fn GetTimeSource(&self) -> Result<IMFPresentationTimeSource>
fn GetTime(&self) -> Result<i64>
fn AddClockStateSink( &self, pstatesink: Ref<'_, IMFClockStateSink>, ) -> Result<()>
fn RemoveClockStateSink( &self, pstatesink: Ref<'_, IMFClockStateSink>, ) -> Result<()>
fn Start(&self, llclockstartoffset: i64) -> Result<()>
fn Stop(&self) -> Result<()>
fn Pause(&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.