Struct makepad_widgets::shader::std::windows::Devices::Enumeration::DeviceInformationCollection
#[repr(transparent)]pub struct DeviceInformationCollection(/* private fields */);Implementations§
§impl DeviceInformationCollection
impl DeviceInformationCollection
pub fn First(&self) -> Result<IIterator<DeviceInformation>, Error>
pub fn First(&self) -> Result<IIterator<DeviceInformation>, Error>
Required features: "Foundation_Collections"
pub fn GetAt(&self, index: u32) -> Result<DeviceInformation, Error>
pub fn GetAt(&self, index: u32) -> Result<DeviceInformation, Error>
Required features: "Foundation_Collections"
pub fn IndexOf<P0>(&self, value: P0, index: &mut u32) -> Result<bool, Error>where
P0: IntoParam<DeviceInformation, <DeviceInformation as TypeKind>::TypeKind>,
pub fn IndexOf<P0>(&self, value: P0, index: &mut u32) -> Result<bool, Error>where P0: IntoParam<DeviceInformation, <DeviceInformation as TypeKind>::TypeKind>,
Required features: "Foundation_Collections"
Trait Implementations§
§impl Clone for DeviceInformationCollection
impl Clone for DeviceInformationCollection
§fn clone(&self) -> DeviceInformationCollection
fn clone(&self) -> DeviceInformationCollection
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 DeviceInformationCollection
impl ComInterface for DeviceInformationCollection
§const IID: GUID = <super::super::Foundation::Collections::IVectorView<DeviceInformation> as
::windows_core::ComInterface>::IID
const IID: GUID = <super::super::Foundation::Collections::IVectorView<DeviceInformation> as ::windows_core::ComInterface>::IID
A unique identifier representing this interface.
fn as_unknown(&self) -> &IUnknown
§impl Debug for DeviceInformationCollection
impl Debug for DeviceInformationCollection
§impl Interface for DeviceInformationCollection
impl Interface for DeviceInformationCollection
type Vtable = IVectorView_Vtbl<DeviceInformation>
§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 IntoIterator for &DeviceInformationCollection
impl IntoIterator for &DeviceInformationCollection
§type Item = DeviceInformation
type Item = DeviceInformation
The type of the elements being iterated over.
§type IntoIter = VectorViewIterator<<&DeviceInformationCollection as IntoIterator>::Item>
type IntoIter = VectorViewIterator<<&DeviceInformationCollection as IntoIterator>::Item>
Which kind of iterator are we turning this into?
§fn into_iter(self) -> <&DeviceInformationCollection as IntoIterator>::IntoIter
fn into_iter(self) -> <&DeviceInformationCollection as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
§impl IntoIterator for DeviceInformationCollection
impl IntoIterator for DeviceInformationCollection
§type Item = DeviceInformation
type Item = DeviceInformation
The type of the elements being iterated over.
§type IntoIter = VectorViewIterator<<DeviceInformationCollection as IntoIterator>::Item>
type IntoIter = VectorViewIterator<<DeviceInformationCollection as IntoIterator>::Item>
Which kind of iterator are we turning this into?
§fn into_iter(self) -> <DeviceInformationCollection as IntoIterator>::IntoIter
fn into_iter(self) -> <DeviceInformationCollection as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
§impl PartialEq<DeviceInformationCollection> for DeviceInformationCollection
impl PartialEq<DeviceInformationCollection> for DeviceInformationCollection
§fn eq(&self, other: &DeviceInformationCollection) -> bool
fn eq(&self, other: &DeviceInformationCollection) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for DeviceInformationCollection
impl Send for DeviceInformationCollection
impl Sync for DeviceInformationCollection
Auto Trait Implementations§
impl RefUnwindSafe for DeviceInformationCollection
impl Unpin for DeviceInformationCollection
impl UnwindSafe for DeviceInformationCollection
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