Struct makepad_widgets::shader::std::windows::Foundation::Collections::ValueSet
#[repr(transparent)]pub struct ValueSet(/* private fields */);Expand description
Required features: "Foundation_Collections"
Implementations§
§impl ValueSet
impl ValueSet
pub fn new() -> Result<ValueSet, 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 ComInterface for ValueSet
impl ComInterface for ValueSet
§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 Interface for ValueSet
impl Interface for ValueSet
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 &ValueSet
impl IntoIterator for &ValueSet
§type Item = IKeyValuePair<HSTRING, IInspectable>
type Item = IKeyValuePair<HSTRING, IInspectable>
The type of the elements being iterated over.
§impl IntoIterator for ValueSet
impl IntoIterator for ValueSet
§type Item = IKeyValuePair<HSTRING, IInspectable>
type Item = IKeyValuePair<HSTRING, IInspectable>
The type of the elements being iterated over.
impl Eq for ValueSet
impl Send for ValueSet
impl Sync for ValueSet
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