Struct makepad_widgets::shader::std::windows::Foundation::Collections::IPropertySet
#[repr(transparent)]pub struct IPropertySet(/* private fields */);Expand description
Required features: "Foundation_Collections"
Implementations§
§impl IPropertySet
impl IPropertySet
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 IPropertySet
impl Clone for IPropertySet
§fn clone(&self) -> IPropertySet
fn clone(&self) -> IPropertySet
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 IPropertySet
impl ComInterface for IPropertySet
fn as_unknown(&self) -> &IUnknown
§impl Debug for IPropertySet
impl Debug for IPropertySet
§impl Interface for IPropertySet
impl Interface for IPropertySet
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 &IPropertySet
impl IntoIterator for &IPropertySet
§type Item = IKeyValuePair<HSTRING, IInspectable>
type Item = IKeyValuePair<HSTRING, IInspectable>
The type of the elements being iterated over.
§type IntoIter = IIterator<<&IPropertySet as IntoIterator>::Item>
type IntoIter = IIterator<<&IPropertySet as IntoIterator>::Item>
Which kind of iterator are we turning this into?
§fn into_iter(self) -> <&IPropertySet as IntoIterator>::IntoIter
fn into_iter(self) -> <&IPropertySet as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
§impl IntoIterator for IPropertySet
impl IntoIterator for IPropertySet
§type Item = IKeyValuePair<HSTRING, IInspectable>
type Item = IKeyValuePair<HSTRING, IInspectable>
The type of the elements being iterated over.
§type IntoIter = IIterator<<IPropertySet as IntoIterator>::Item>
type IntoIter = IIterator<<IPropertySet as IntoIterator>::Item>
Which kind of iterator are we turning this into?
§fn into_iter(self) -> <IPropertySet as IntoIterator>::IntoIter
fn into_iter(self) -> <IPropertySet as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
§impl PartialEq<IPropertySet> for IPropertySet
impl PartialEq<IPropertySet> for IPropertySet
§fn eq(&self, other: &IPropertySet) -> bool
fn eq(&self, other: &IPropertySet) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for IPropertySet
Auto Trait Implementations§
impl RefUnwindSafe for IPropertySet
impl !Send for IPropertySet
impl !Sync for IPropertySet
impl Unpin for IPropertySet
impl UnwindSafe for IPropertySet
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