Trait windows::Devices::Spi::ISpiDeviceStatics_Impl
pub trait ISpiDeviceStatics_Impl: Sized {
// Required methods
fn GetDeviceSelector(&self) -> Result<HSTRING>;
fn GetDeviceSelectorFromFriendlyName(
&self,
friendlyname: &HSTRING,
) -> Result<HSTRING>;
fn GetBusInfo(&self, busid: &HSTRING) -> Result<SpiBusInfo>;
fn FromIdAsync(
&self,
busid: &HSTRING,
settings: Option<&SpiConnectionSettings>,
) -> Result<IAsyncOperation<SpiDevice>>;
}
Required Methods§
fn GetDeviceSelector(&self) -> Result<HSTRING>
fn GetDeviceSelectorFromFriendlyName( &self, friendlyname: &HSTRING, ) -> Result<HSTRING>
fn GetBusInfo(&self, busid: &HSTRING) -> Result<SpiBusInfo>
fn FromIdAsync( &self, busid: &HSTRING, settings: Option<&SpiConnectionSettings>, ) -> Result<IAsyncOperation<SpiDevice>>
Object Safety§
This trait is not object safe.