windows::Win32::Media::MediaFoundation

Trait IMFSensorProfileCollection_Impl

pub trait IMFSensorProfileCollection_Impl: IUnknownImpl {
    // Required methods
    fn GetProfileCount(&self) -> u32;
    fn GetProfile(&self, index: u32) -> Result<IMFSensorProfile>;
    fn AddProfile(&self, pprofile: Ref<'_, IMFSensorProfile>) -> Result<()>;
    fn FindProfile(
        &self,
        profileid: *const SENSORPROFILEID,
    ) -> Result<IMFSensorProfile>;
    fn RemoveProfileByIndex(&self, index: u32);
    fn RemoveProfile(&self, profileid: *const SENSORPROFILEID);
}

Required Methods§

fn GetProfileCount(&self) -> u32

fn GetProfile(&self, index: u32) -> Result<IMFSensorProfile>

fn AddProfile(&self, pprofile: Ref<'_, IMFSensorProfile>) -> Result<()>

fn FindProfile( &self, profileid: *const SENSORPROFILEID, ) -> Result<IMFSensorProfile>

fn RemoveProfileByIndex(&self, index: u32)

fn RemoveProfile(&self, profileid: *const SENSORPROFILEID)

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§