windows::Win32::Devices::Sensors

Trait ISensorManagerEvents_Impl

pub trait ISensorManagerEvents_Impl: IUnknownImpl {
    // Required method
    fn OnSensorEnter(
        &self,
        psensor: Ref<'_, ISensor>,
        state: SensorState,
    ) -> Result<()>;
}

Required Methods§

fn OnSensorEnter( &self, psensor: Ref<'_, ISensor>, state: SensorState, ) -> 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§