windows::Win32::Media::MediaFoundation

Trait IMFClockStateSink_Impl

pub trait IMFClockStateSink_Impl: IUnknownImpl {
    // Required methods
    fn OnClockStart(
        &self,
        hnssystemtime: i64,
        llclockstartoffset: i64,
    ) -> Result<()>;
    fn OnClockStop(&self, hnssystemtime: i64) -> Result<()>;
    fn OnClockPause(&self, hnssystemtime: i64) -> Result<()>;
    fn OnClockRestart(&self, hnssystemtime: i64) -> Result<()>;
    fn OnClockSetRate(&self, hnssystemtime: i64, flrate: f32) -> Result<()>;
}

Required Methods§

fn OnClockStart( &self, hnssystemtime: i64, llclockstartoffset: i64, ) -> Result<()>

fn OnClockStop(&self, hnssystemtime: i64) -> Result<()>

fn OnClockPause(&self, hnssystemtime: i64) -> Result<()>

fn OnClockRestart(&self, hnssystemtime: i64) -> Result<()>

fn OnClockSetRate(&self, hnssystemtime: i64, flrate: f32) -> 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§