Trait IMFSensorDevice_Impl
pub trait IMFSensorDevice_Impl: IUnknownImpl {
// Required methods
fn GetDeviceId(&self) -> Result<u64>;
fn GetDeviceType(&self) -> Result<MFSensorDeviceType>;
fn GetFlags(&self) -> Result<u64>;
fn GetSymbolicLink(
&self,
symboliclink: PWSTR,
cchsymboliclink: i32,
pcchwritten: *mut i32,
) -> Result<()>;
fn GetDeviceAttributes(&self) -> Result<IMFAttributes>;
fn GetStreamAttributesCount(&self, etype: MFSensorStreamType) -> Result<u32>;
fn GetStreamAttributes(
&self,
etype: MFSensorStreamType,
dwindex: u32,
) -> Result<IMFAttributes>;
fn SetSensorDeviceMode(&self, emode: MFSensorDeviceMode) -> Result<()>;
fn GetSensorDeviceMode(&self) -> Result<MFSensorDeviceMode>;
}
Required Methods§
fn GetDeviceId(&self) -> Result<u64>
fn GetDeviceType(&self) -> Result<MFSensorDeviceType>
fn GetFlags(&self) -> Result<u64>
fn GetSymbolicLink( &self, symboliclink: PWSTR, cchsymboliclink: i32, pcchwritten: *mut i32, ) -> Result<()>
fn GetDeviceAttributes(&self) -> Result<IMFAttributes>
fn GetStreamAttributesCount(&self, etype: MFSensorStreamType) -> Result<u32>
fn GetStreamAttributes( &self, etype: MFSensorStreamType, dwindex: u32, ) -> Result<IMFAttributes>
fn SetSensorDeviceMode(&self, emode: MFSensorDeviceMode) -> Result<()>
fn GetSensorDeviceMode(&self) -> Result<MFSensorDeviceMode>
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.