Struct makepad_widgets::shader::std::windows::Foundation::Collections::PropertySet
#[repr(transparent)]pub struct PropertySet(/* private fields */);Expand description
Required features: "Foundation_Collections"
Implementations§
§impl PropertySet
impl PropertySet
pub fn new() -> Result<PropertySet, Error>
pub fn First( &self ) -> Result<IIterator<IKeyValuePair<HSTRING, IInspectable>>, Error>
pub fn Lookup(&self, key: &HSTRING) -> Result<IInspectable, Error>
pub fn Size(&self) -> Result<u32, Error>
pub fn HasKey(&self, key: &HSTRING) -> Result<bool, Error>
pub fn GetView(&self) -> Result<IMapView<HSTRING, IInspectable>, Error>
pub fn Insert<P0>(&self, key: &HSTRING, value: P0) -> Result<bool, Error>where P0: IntoParam<IInspectable, <IInspectable as TypeKind>::TypeKind>,
pub fn Remove(&self, key: &HSTRING) -> Result<(), Error>
pub fn Clear(&self) -> Result<(), Error>
pub fn MapChanged<P0>(&self, vhnd: P0) -> Result<EventRegistrationToken, Error>where P0: IntoParam<MapChangedEventHandler<HSTRING, IInspectable>, <MapChangedEventHandler<HSTRING, IInspectable> as TypeKind>::TypeKind>,
pub fn RemoveMapChanged( &self, token: EventRegistrationToken ) -> Result<(), Error>
Trait Implementations§
§impl Clone for PropertySet
impl Clone for PropertySet
§fn clone(&self) -> PropertySet
fn clone(&self) -> PropertySet
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 PropertySet
impl ComInterface for PropertySet
§const IID: GUID = <IPropertySet as ::windows_core::ComInterface>::IID
const IID: GUID = <IPropertySet as ::windows_core::ComInterface>::IID
A unique identifier representing this interface.
fn as_unknown(&self) -> &IUnknown
§impl Debug for PropertySet
impl Debug for PropertySet
§impl Interface for PropertySet
impl Interface for PropertySet
type Vtable = IPropertySet_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 IntoIterator for &PropertySet
impl IntoIterator for &PropertySet
§type Item = IKeyValuePair<HSTRING, IInspectable>
type Item = IKeyValuePair<HSTRING, IInspectable>
The type of the elements being iterated over.
§type IntoIter = IIterator<<&PropertySet as IntoIterator>::Item>
type IntoIter = IIterator<<&PropertySet as IntoIterator>::Item>
Which kind of iterator are we turning this into?
§fn into_iter(self) -> <&PropertySet as IntoIterator>::IntoIter
fn into_iter(self) -> <&PropertySet as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
§impl IntoIterator for PropertySet
impl IntoIterator for PropertySet
§type Item = IKeyValuePair<HSTRING, IInspectable>
type Item = IKeyValuePair<HSTRING, IInspectable>
The type of the elements being iterated over.
§type IntoIter = IIterator<<PropertySet as IntoIterator>::Item>
type IntoIter = IIterator<<PropertySet as IntoIterator>::Item>
Which kind of iterator are we turning this into?
§fn into_iter(self) -> <PropertySet as IntoIterator>::IntoIter
fn into_iter(self) -> <PropertySet as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
§impl PartialEq<PropertySet> for PropertySet
impl PartialEq<PropertySet> for PropertySet
§fn eq(&self, other: &PropertySet) -> bool
fn eq(&self, other: &PropertySet) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for PropertySet
impl Send for PropertySet
impl Sync for PropertySet
Auto Trait Implementations§
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