[−][src]Trait objc_foundation::INSDictionary
Associated Types
Loading content...Provided methods
fn count(&self) -> usize
fn object_for(&self, key: &Self::Key) -> Option<&Self::Value>
fn keys(&self) -> Vec<&Self::Key>
fn values(&self) -> Vec<&Self::Value>
fn keys_and_objects(&self) -> (Vec<&Self::Key>, Vec<&Self::Value>)
ⓘImportant traits for NSEnumerator<'a, T>fn key_enumerator(&self) -> NSEnumerator<Self::Key>
ⓘImportant traits for NSEnumerator<'a, T>
ⓘImportant traits for NSEnumerator<'a, T>fn object_enumerator(&self) -> NSEnumerator<Self::Value>
ⓘImportant traits for NSEnumerator<'a, T>
fn keys_array(&self) -> Id<NSSharedArray<Self::Key>>
fn from_keys_and_objects<T>(
keys: &[&T],
vals: Vec<Id<Self::Value, Self::Own>>
) -> Id<Self> where
T: INSCopying<Output = Self::Key>,
keys: &[&T],
vals: Vec<Id<Self::Value, Self::Own>>
) -> Id<Self> where
T: INSCopying<Output = Self::Key>,
fn into_values_array(dict: Id<Self>) -> Id<NSArray<Self::Value, Self::Own>>
Implementors
impl<K, V> INSDictionary for NSDictionary<K, V> where
K: INSObject,
V: INSObject,
[src]
K: INSObject,
V: INSObject,
type Key = K
type Value = V
type Own = Owned
fn count(&self) -> usize
[src]
fn object_for(&self, key: &Self::Key) -> Option<&Self::Value>
[src]
fn keys(&self) -> Vec<&Self::Key>
[src]
fn values(&self) -> Vec<&Self::Value>
[src]
fn keys_and_objects(&self) -> (Vec<&Self::Key>, Vec<&Self::Value>)
[src]
ⓘImportant traits for NSEnumerator<'a, T>fn key_enumerator(&self) -> NSEnumerator<Self::Key>
[src]
ⓘImportant traits for NSEnumerator<'a, T>
ⓘImportant traits for NSEnumerator<'a, T>fn object_enumerator(&self) -> NSEnumerator<Self::Value>
[src]
ⓘImportant traits for NSEnumerator<'a, T>
fn keys_array(&self) -> Id<NSSharedArray<Self::Key>>
[src]
fn from_keys_and_objects<T>(
keys: &[&T],
vals: Vec<Id<Self::Value, Self::Own>>
) -> Id<Self> where
T: INSCopying<Output = Self::Key>,
[src]
keys: &[&T],
vals: Vec<Id<Self::Value, Self::Own>>
) -> Id<Self> where
T: INSCopying<Output = Self::Key>,