Struct winrt::windows::foundation::collections::IMap
[−]
[src]
#[repr(C)]pub struct IMap<K, V> where
K: RtType,
V: RtType, { /* fields omitted */ }
Methods
impl<K: RtType, V: RtType> IMap<K, V>
[src]
unsafe fn lookup(&self, key: &K::In) -> Result<V::Out>
unsafe fn get_size(&self) -> Result<u32>
unsafe fn has_key(&self, key: &K::In) -> Result<bool>
unsafe fn get_view(&self) -> Result<ComPtr<IMapView<K, V>>>
unsafe fn insert(&self, key: &K::In, value: &V::In) -> Result<bool>
unsafe fn remove(&self, key: &K::In) -> Result<()>
unsafe fn clear(&self) -> Result<()>
Methods from Deref<Target = IInspectable>
fn get_iids(&self) -> ComArray<Guid>
Returns the interfaces that are implemented by the current Windows Runtime object.
fn get_trust_level(&self) -> TrustLevel
Returns the trust level of the current Windows Runtime object.
Trait Implementations
impl<K, V> ComInterface for IMap<K, V> where
K: RtType,
V: RtType,
[src]
K: RtType,
V: RtType,
type Vtbl = IMapVtbl<K, V>
The type that defines the VTable of this interface.
impl<K, V> RtType for IMap<K, V> where
K: RtType,
V: RtType,
[src]
K: RtType,
V: RtType,
type In = IMap<K, V>
type Abi = *mut IMap<K, V>
type Out = ComPtr<IMap<K, V>>
unsafe fn unwrap(input: &Self::In) -> Self::Abi
unsafe fn uninitialized() -> Self::Abi
unsafe fn wrap(abi: Self::Abi) -> Self::Out
impl<K, V> Deref for IMap<K, V> where
K: RtType,
V: RtType,
[src]
K: RtType,
V: RtType,
type Target = IInspectable
The resulting type after dereferencing
fn deref(&self) -> &IInspectable
The method called to dereference a value
impl<K, V> DerefMut for IMap<K, V> where
K: RtType,
V: RtType,
[src]
K: RtType,
V: RtType,
fn deref_mut(&mut self) -> &mut IInspectable
The method called to mutably dereference a value