windows::Win32::Media::MediaFoundation

Trait IMFRateSupport_Impl

pub trait IMFRateSupport_Impl: IUnknownImpl {
    // Required methods
    fn GetSlowestRate(
        &self,
        edirection: MFRATE_DIRECTION,
        fthin: BOOL,
    ) -> Result<f32>;
    fn GetFastestRate(
        &self,
        edirection: MFRATE_DIRECTION,
        fthin: BOOL,
    ) -> Result<f32>;
    fn IsRateSupported(
        &self,
        fthin: BOOL,
        flrate: f32,
        pflnearestsupportedrate: *mut f32,
    ) -> Result<()>;
}

Required Methods§

fn GetSlowestRate( &self, edirection: MFRATE_DIRECTION, fthin: BOOL, ) -> Result<f32>

fn GetFastestRate( &self, edirection: MFRATE_DIRECTION, fthin: BOOL, ) -> Result<f32>

fn IsRateSupported( &self, fthin: BOOL, flrate: f32, pflnearestsupportedrate: *mut 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§