[][src]Struct winrt::windows::foundation::collections::StringMap

pub struct StringMap(_);

Methods from Deref<Target = IMap<HString, HString>>

pub fn lookup(&self, key: &K::In) -> Result<V::Out>[src]

pub fn get_size(&self) -> Result<u32>[src]

pub fn has_key(&self, key: &K::In) -> Result<bool>[src]

pub fn get_view(&self) -> Result<Option<ComPtr<IMapView<K, V>>>>[src]

pub fn insert(&mut self, key: &K::In, value: &V::In) -> Result<bool>[src]

pub fn remove(&mut self, key: &K::In) -> Result<()>[src]

pub fn clear(&mut self) -> Result<()>[src]

Trait Implementations

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 RtInterface for StringMap[src]

impl RtClassInterface for StringMap[src]

impl RtType for StringMap[src]

type In = StringMap

type Abi = *mut StringMap

type Out = Option<Self::OutNonNull>

type OutNonNull = ComPtr<StringMap>

unsafe fn unwrap(input: &Self::In) -> Self::Abi[src]

unsafe fn uninitialized() -> Self::Abi[src]

unsafe fn wrap(abi: Self::Abi) -> Self::Out[src]

impl RtNamedClass for StringMap[src]

impl RtActivatable<IActivationFactory> for StringMap[src]

fn get_activation_factory() -> ComPtr<Interface> where
    Interface: RtInterface + ComIid
[src]

Returns a factory object to create instances of this class or to call static methods.

impl Deref for StringMap[src]

type Target = IMap<HString, HString>

The resulting type after dereferencing.

impl DerefMut for StringMap[src]

Auto Trait Implementations

impl !Send for StringMap

impl !Sync for StringMap

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]