Trait windows::Devices::I2c::II2cDeviceStatics_Impl

pub trait II2cDeviceStatics_Impl: Sized {
    // Required methods
    fn GetDeviceSelector(&self) -> Result<HSTRING>;
    fn GetDeviceSelectorFromFriendlyName(
        &self,
        friendlyname: &HSTRING,
    ) -> Result<HSTRING>;
    fn FromIdAsync(
        &self,
        deviceid: &HSTRING,
        settings: Option<&I2cConnectionSettings>,
    ) -> Result<IAsyncOperation<I2cDevice>>;
}

Required Methods§

fn GetDeviceSelector(&self) -> Result<HSTRING>

fn GetDeviceSelectorFromFriendlyName( &self, friendlyname: &HSTRING, ) -> Result<HSTRING>

fn FromIdAsync( &self, deviceid: &HSTRING, settings: Option<&I2cConnectionSettings>, ) -> Result<IAsyncOperation<I2cDevice>>

Object Safety§

This trait is not object safe.

Implementors§