Struct makepad_widgets::shader::std::windows::Devices::Enumeration::DeviceInformationPairing
#[repr(transparent)]pub struct DeviceInformationPairing(/* private fields */);Implementations§
§impl DeviceInformationPairing
impl DeviceInformationPairing
pub fn IsPaired(&self) -> Result<bool, Error>
pub fn CanPair(&self) -> Result<bool, Error>
pub fn PairAsync(&self) -> Result<IAsyncOperation<DevicePairingResult>, Error>
pub fn PairAsync(&self) -> Result<IAsyncOperation<DevicePairingResult>, Error>
Required features: "Foundation"
pub fn PairWithProtectionLevelAsync(
&self,
minprotectionlevel: DevicePairingProtectionLevel
) -> Result<IAsyncOperation<DevicePairingResult>, Error>
pub fn PairWithProtectionLevelAsync( &self, minprotectionlevel: DevicePairingProtectionLevel ) -> Result<IAsyncOperation<DevicePairingResult>, Error>
Required features: "Foundation"
pub fn ProtectionLevel(&self) -> Result<DevicePairingProtectionLevel, Error>
pub fn Custom(&self) -> Result<DeviceInformationCustomPairing, Error>
pub fn PairWithProtectionLevelAndSettingsAsync<P0>(
&self,
minprotectionlevel: DevicePairingProtectionLevel,
devicepairingsettings: P0
) -> Result<IAsyncOperation<DevicePairingResult>, Error>where
P0: TryIntoParam<IDevicePairingSettings>,
pub fn PairWithProtectionLevelAndSettingsAsync<P0>( &self, minprotectionlevel: DevicePairingProtectionLevel, devicepairingsettings: P0 ) -> Result<IAsyncOperation<DevicePairingResult>, Error>where P0: TryIntoParam<IDevicePairingSettings>,
Required features: "Foundation"
pub fn UnpairAsync(
&self
) -> Result<IAsyncOperation<DeviceUnpairingResult>, Error>
pub fn UnpairAsync( &self ) -> Result<IAsyncOperation<DeviceUnpairingResult>, Error>
Required features: "Foundation"
pub fn TryRegisterForAllInboundPairingRequests( pairingkindssupported: DevicePairingKinds ) -> Result<bool, Error>
pub fn TryRegisterForAllInboundPairingRequestsWithProtectionLevel( pairingkindssupported: DevicePairingKinds, minprotectionlevel: DevicePairingProtectionLevel ) -> Result<bool, Error>
Trait Implementations§
§impl Clone for DeviceInformationPairing
impl Clone for DeviceInformationPairing
§fn clone(&self) -> DeviceInformationPairing
fn clone(&self) -> DeviceInformationPairing
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl ComInterface for DeviceInformationPairing
impl ComInterface for DeviceInformationPairing
§const IID: GUID = <IDeviceInformationPairing as ::windows_core::ComInterface>::IID
const IID: GUID = <IDeviceInformationPairing as ::windows_core::ComInterface>::IID
A unique identifier representing this interface.
fn as_unknown(&self) -> &IUnknown
§impl Debug for DeviceInformationPairing
impl Debug for DeviceInformationPairing
§impl Interface for DeviceInformationPairing
impl Interface for DeviceInformationPairing
type Vtable = IDeviceInformationPairing_Vtbl
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§impl PartialEq<DeviceInformationPairing> for DeviceInformationPairing
impl PartialEq<DeviceInformationPairing> for DeviceInformationPairing
§fn eq(&self, other: &DeviceInformationPairing) -> bool
fn eq(&self, other: &DeviceInformationPairing) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for DeviceInformationPairing
impl Send for DeviceInformationPairing
impl Sync for DeviceInformationPairing
Auto Trait Implementations§
impl RefUnwindSafe for DeviceInformationPairing
impl Unpin for DeviceInformationPairing
impl UnwindSafe for DeviceInformationPairing
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more