Struct winrt::windows::foundation::collections::StringMap
[−]
[src]
pub struct StringMap(_);
Methods from Deref<Target = IMap<HString, HString>>
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<()>
Trait Implementations
impl RtInterface for StringMap
[src]
impl RtClassInterface for StringMap
[src]
impl ComInterface for StringMap
[src]
type Vtbl = <IMap<HString, HString> as ComInterface>::Vtbl
The type that defines the VTable of this interface.
impl ComIid for StringMap
[src]
impl RtType for StringMap
[src]
type In = StringMap
type Abi = *mut StringMap
type Out = ComPtr<StringMap>
unsafe fn unwrap(input: &Self::In) -> Self::Abi
unsafe fn uninitialized() -> Self::Abi
unsafe fn wrap(abi: Self::Abi) -> Self::Out
impl Deref for StringMap
[src]
type Target = IMap<HString, HString>
The resulting type after dereferencing
fn deref(&self) -> &IMap<HString, HString>
The method called to dereference a value
impl DerefMut for StringMap
[src]
fn deref_mut(&mut self) -> &mut IMap<HString, HString>
The method called to mutably dereference a value
impl RtActivatable<IActivationFactory> for StringMap
[src]
fn get_activation_factory() -> ComPtr<Interface> where
Interface: RtInterface + ComIid,
Interface: RtInterface + ComIid,
Returns a factory object to create instances of this class or to call static methods.
fn new() -> ComPtr<Self> where
Self: Sized + RtActivatable<IActivationFactory> + ComInterface,
Self: Sized + RtActivatable<IActivationFactory> + ComInterface,
Uses the default constructor to create an instance of this class.
impl RtNamedClass for StringMap
[src]
fn name() -> &'static [u16]
Returns the name of the class encoded as a 16-bit wide string.