Trait windows::Foundation::Collections::IMap_Impl
pub trait IMap_Impl<K, V>: Sized + IIterable_Impl<IKeyValuePair<K, V>>where
K: RuntimeType + 'static,
V: RuntimeType + 'static,{
// Required methods
fn Lookup(&self, key: &<K as Type<K>>::Default) -> Result<V>;
fn Size(&self) -> Result<u32>;
fn HasKey(&self, key: &<K as Type<K>>::Default) -> Result<bool>;
fn GetView(&self) -> Result<IMapView<K, V>>;
fn Insert(
&self,
key: &<K as Type<K>>::Default,
value: &<V as Type<V>>::Default
) -> Result<bool>;
fn Remove(&self, key: &<K as Type<K>>::Default) -> Result<()>;
fn Clear(&self) -> Result<()>;
}
Required Methods§
fn Lookup(&self, key: &<K as Type<K>>::Default) -> Result<V>
fn Size(&self) -> Result<u32>
fn HasKey(&self, key: &<K as Type<K>>::Default) -> Result<bool>
fn GetView(&self) -> Result<IMapView<K, V>>
fn Insert( &self, key: &<K as Type<K>>::Default, value: &<V as Type<V>>::Default ) -> Result<bool>
fn Remove(&self, key: &<K as Type<K>>::Default) -> Result<()>
fn Clear(&self) -> Result<()>
Object Safety§
This trait is not object safe.