Trait windows::Win32::Devices::Sensors::ISensorCollection_Impl

pub trait ISensorCollection_Impl: Sized {
    // Required methods
    fn GetAt(&self, ulindex: u32) -> Result<ISensor>;
    fn GetCount(&self) -> Result<u32>;
    fn Add(&self, psensor: Option<&ISensor>) -> Result<()>;
    fn Remove(&self, psensor: Option<&ISensor>) -> Result<()>;
    fn RemoveByID(&self, sensorid: *const GUID) -> Result<()>;
    fn Clear(&self) -> Result<()>;
}

Required Methods§

fn GetAt(&self, ulindex: u32) -> Result<ISensor>

fn GetCount(&self) -> Result<u32>

fn Add(&self, psensor: Option<&ISensor>) -> Result<()>

fn Remove(&self, psensor: Option<&ISensor>) -> Result<()>

fn RemoveByID(&self, sensorid: *const GUID) -> Result<()>

fn Clear(&self) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§