[][src]Struct windows_media_transcoding_bindings::windows::foundation::collections::IObservableMap

#[repr(transparent)]pub struct IObservableMap<K, V> where
    K: RuntimeType + 'static,
    V: RuntimeType + 'static, 
{ /* fields omitted */ }

Implementations

impl<K: RuntimeType + 'static, V: RuntimeType + 'static> IObservableMap<K, V>[src]

pub fn map_changed<'a, T0__: Into<Param<'a, MapChangedEventHandler<K, V>>>>(
    &self,
    vhnd: T0__
) -> Result<EventRegistrationToken>
[src]

pub fn remove_map_changed<'a, T0__: Into<Param<'a, EventRegistrationToken>>>(
    &self,
    token: T0__
) -> Result<()>
[src]

pub fn first(&self) -> Result<IIterator<IKeyValuePair<K, V>>>[src]

pub fn lookup<'a, T0__: Into<Param<'a, K>>>(&self, key: T0__) -> Result<V>[src]

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

pub fn has_key<'a, T0__: Into<Param<'a, K>>>(&self, key: T0__) -> Result<bool>[src]

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

pub fn insert<'a, T0__: Into<Param<'a, K>>, T1__: Into<Param<'a, V>>>(
    &self,
    key: T0__,
    value: T1__
) -> Result<bool>
[src]

pub fn remove<'a, T0__: Into<Param<'a, K>>>(&self, key: T0__) -> Result<()>[src]

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

Trait Implementations

impl<K: RuntimeType + 'static, V: RuntimeType + 'static> AbiTransferable for IObservableMap<K, V>[src]

type Abi = RawComPtr<Self>

impl<K: RuntimeType + 'static, V: RuntimeType + 'static> Clone for IObservableMap<K, V>[src]

impl<K: RuntimeType + 'static, V: RuntimeType + 'static> ComInterface for IObservableMap<K, V>[src]

type VTable = abi_IObservableMap<K, V>

impl<K: RuntimeType + 'static, V: RuntimeType + 'static> Debug for IObservableMap<K, V>[src]

impl<K: RuntimeType + 'static, V: RuntimeType + 'static> Default for IObservableMap<K, V>[src]

impl<K: RuntimeType + 'static, V: RuntimeType + 'static, '_> From<&'_ IObservableMap<K, V>> for IIterable<IKeyValuePair<K, V>>[src]

impl<K: RuntimeType + 'static, V: RuntimeType + 'static, '_> From<&'_ IObservableMap<K, V>> for IMap<K, V>[src]

impl<K: RuntimeType + 'static, V: RuntimeType + 'static, '_> From<&'_ IObservableMap<K, V>> for Object[src]

impl<'_> From<&'_ IPropertySet> for IObservableMap<HString, Object>[src]

impl<K: RuntimeType + 'static, V: RuntimeType + 'static> From<IObservableMap<K, V>> for IIterable<IKeyValuePair<K, V>>[src]

impl<K: RuntimeType + 'static, V: RuntimeType + 'static> From<IObservableMap<K, V>> for IMap<K, V>[src]

impl<K: RuntimeType + 'static, V: RuntimeType + 'static> From<IObservableMap<K, V>> for Object[src]

impl From<IPropertySet> for IObservableMap<HString, Object>[src]

impl<'a, K: RuntimeType + 'static, V: RuntimeType + 'static> Into<Param<'a, IIterable<IKeyValuePair<K, V>>>> for IObservableMap<K, V>[src]

impl<'a, K: RuntimeType + 'static, V: RuntimeType + 'static> Into<Param<'a, IIterable<IKeyValuePair<K, V>>>> for &'a IObservableMap<K, V>[src]

impl<'a, K: RuntimeType + 'static, V: RuntimeType + 'static> Into<Param<'a, IMap<K, V>>> for IObservableMap<K, V>[src]

impl<'a, K: RuntimeType + 'static, V: RuntimeType + 'static> Into<Param<'a, IMap<K, V>>> for &'a IObservableMap<K, V>[src]

impl<K: RuntimeType + 'static, V: RuntimeType + 'static> IntoIterator for IObservableMap<K, V>[src]

type Item = IKeyValuePair<K, V>

The type of the elements being iterated over.

type IntoIter = IIterator<Self::Item>

Which kind of iterator are we turning this into?

impl<'a, K: RuntimeType + 'static, V: RuntimeType + 'static> IntoIterator for &'a IObservableMap<K, V>[src]

type Item = IKeyValuePair<K, V>

The type of the elements being iterated over.

type IntoIter = IIterator<Self::Item>

Which kind of iterator are we turning this into?

impl<K: RuntimeType + 'static, V: RuntimeType + 'static> PartialEq<IObservableMap<K, V>> for IObservableMap<K, V>[src]

impl<K: RuntimeType + 'static, V: RuntimeType + 'static> RuntimeType for IObservableMap<K, V>[src]

Auto Trait Implementations

impl<K, V> RefUnwindSafe for IObservableMap<K, V> where
    K: RefUnwindSafe,
    V: RefUnwindSafe

impl<K, V> !Send for IObservableMap<K, V>

impl<K, V> !Sync for IObservableMap<K, V>

impl<K, V> Unpin for IObservableMap<K, V> where
    K: Unpin,
    V: Unpin

impl<K, V> UnwindSafe for IObservableMap<K, V> where
    K: RefUnwindSafe + UnwindSafe,
    V: RefUnwindSafe + UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.