Struct makepad_widgets::shader::std::windows::Foundation::Collections::IMapView
#[repr(transparent)]pub struct IMapView<K, V>(/* private fields */)
where
K: RuntimeType + 'static,
V: RuntimeType + 'static;Expand description
Required features: "Foundation_Collections"
Implementations§
§impl<K, V> IMapView<K, V>where
K: RuntimeType + 'static,
V: RuntimeType + 'static,
impl<K, V> IMapView<K, V>where K: RuntimeType + 'static, V: RuntimeType + 'static,
pub fn Lookup<P0>(&self, key: P0) -> Result<V, Error>where P0: IntoParam<K, <K as TypeKind>::TypeKind>,
pub fn Size(&self) -> Result<u32, Error>
pub fn HasKey<P0>(&self, key: P0) -> Result<bool, Error>where P0: IntoParam<K, <K as TypeKind>::TypeKind>,
pub fn Split( &self, first: &mut Option<IMapView<K, V>>, second: &mut Option<IMapView<K, V>> ) -> Result<(), Error>
pub fn First(&self) -> Result<IIterator<IKeyValuePair<K, V>>, Error>
Trait Implementations§
§impl<K, V> AsImpl<StockMapView<K, V>> for IMapView<K, V>where
K: RuntimeType + 'static,
V: RuntimeType + 'static,
<K as Type<K, <K as TypeKind>::TypeKind>>::Default: Clone + Ord,
<V as Type<V, <V as TypeKind>::TypeKind>>::Default: Clone,
impl<K, V> AsImpl<StockMapView<K, V>> for IMapView<K, V>where K: RuntimeType + 'static, V: RuntimeType + 'static, <K as Type<K, <K as TypeKind>::TypeKind>>::Default: Clone + Ord, <V as Type<V, <V as TypeKind>::TypeKind>>::Default: Clone,
§impl<K, V> ComInterface for IMapView<K, V>where
K: RuntimeType + 'static,
V: RuntimeType + 'static,
impl<K, V> ComInterface for IMapView<K, V>where K: RuntimeType + 'static, V: RuntimeType + 'static,
fn as_unknown(&self) -> &IUnknown
§impl<K, V> From<StockMapView<K, V>> for IMapView<K, V>where
K: RuntimeType + 'static,
V: RuntimeType + 'static,
<K as Type<K, <K as TypeKind>::TypeKind>>::Default: Clone + Ord,
<V as Type<V, <V as TypeKind>::TypeKind>>::Default: Clone,
impl<K, V> From<StockMapView<K, V>> for IMapView<K, V>where K: RuntimeType + 'static, V: RuntimeType + 'static, <K as Type<K, <K as TypeKind>::TypeKind>>::Default: Clone + Ord, <V as Type<V, <V as TypeKind>::TypeKind>>::Default: Clone,
§impl<K, V> Interface for IMapView<K, V>where
K: RuntimeType + 'static,
V: RuntimeType + 'static,
impl<K, V> Interface for IMapView<K, V>where K: RuntimeType + 'static, V: RuntimeType + 'static,
type Vtable = IMapView_Vtbl<K, V>
§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<K, V> IntoIterator for &IMapView<K, V>where
K: RuntimeType + 'static,
V: RuntimeType + 'static,
impl<K, V> IntoIterator for &IMapView<K, V>where K: RuntimeType + 'static, V: RuntimeType + 'static,
§type Item = IKeyValuePair<K, V>
type Item = IKeyValuePair<K, V>
The type of the elements being iterated over.
§impl<K, V> IntoIterator for IMapView<K, V>where
K: RuntimeType + 'static,
V: RuntimeType + 'static,
impl<K, V> IntoIterator for IMapView<K, V>where K: RuntimeType + 'static, V: RuntimeType + 'static,
§type Item = IKeyValuePair<K, V>
type Item = IKeyValuePair<K, V>
The type of the elements being iterated over.
§impl<K, V> PartialEq<IMapView<K, V>> for IMapView<K, V>where
K: RuntimeType + 'static,
V: RuntimeType + 'static,
impl<K, V> PartialEq<IMapView<K, V>> for IMapView<K, V>where K: RuntimeType + 'static, V: RuntimeType + 'static,
§impl<K, V> TryFrom<BTreeMap<<K as Type<K, <K as TypeKind>::TypeKind>>::Default, <V as Type<V, <V as TypeKind>::TypeKind>>::Default, Global>> for IMapView<K, V>where
K: RuntimeType,
V: RuntimeType,
<K as Type<K, <K as TypeKind>::TypeKind>>::Default: Clone + Ord,
<V as Type<V, <V as TypeKind>::TypeKind>>::Default: Clone,
impl<K, V> TryFrom<BTreeMap<<K as Type<K, <K as TypeKind>::TypeKind>>::Default, <V as Type<V, <V as TypeKind>::TypeKind>>::Default, Global>> for IMapView<K, V>where K: RuntimeType, V: RuntimeType, <K as Type<K, <K as TypeKind>::TypeKind>>::Default: Clone + Ord, <V as Type<V, <V as TypeKind>::TypeKind>>::Default: Clone,
impl<K, V> Eq for IMapView<K, V>where K: RuntimeType + 'static, V: RuntimeType + 'static,
Auto Trait Implementations§
impl<K, V> RefUnwindSafe for IMapView<K, V>where K: RefUnwindSafe, V: RefUnwindSafe,
impl<K, V> !Send for IMapView<K, V>
impl<K, V> !Sync for IMapView<K, V>
impl<K, V> Unpin for IMapView<K, V>where K: Unpin, V: Unpin,
impl<K, V> UnwindSafe for IMapView<K, V>where K: UnwindSafe, V: UnwindSafe,
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