[−][src]Struct objc_foundation::NSDictionary
Trait Implementations
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>,
fn into_values_array(dict: Id<Self>) -> Id<NSArray<Self::Value, Self::Own>>
[src]
impl<K, V> INSFastEnumeration for NSDictionary<K, V> where
K: INSObject,
V: INSObject,
[src]
K: INSObject,
V: INSObject,
type Item = K
ⓘImportant traits for NSFastEnumerator<'a, C>fn enumerator(&self) -> NSFastEnumerator<Self>
[src]
ⓘImportant traits for NSFastEnumerator<'a, C>
impl<K, V> INSObject for NSDictionary<K, V> where
K: INSObject,
V: INSObject,
[src]
K: INSObject,
V: INSObject,
fn class() -> &'static Class
[src]
fn hash_code(&self) -> usize
[src]
fn is_equal<T>(&self, other: &T) -> bool where
T: INSObject,
[src]
T: INSObject,
fn description(&self) -> ShareId<NSString>
[src]
fn is_kind_of(&self, cls: &Class) -> bool
[src]
fn new() -> Id<Self>
[src]
impl<'a, K, V> Index<&'a K> for NSDictionary<K, V> where
K: INSObject,
V: INSObject,
[src]
K: INSObject,
V: INSObject,
impl<K, V> Message for NSDictionary<K, V>
[src]
unsafe fn send_message<A, R>(
&self,
sel: Sel,
args: A
) -> Result<R, MessageError> where
A: MessageArguments,
R: Any,
[src]
&self,
sel: Sel,
args: A
) -> Result<R, MessageError> where
A: MessageArguments,
R: Any,
Sends a message to self with the given selector and arguments. Read more
fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError> where
A: EncodeArguments,
R: Encode,
[src]
A: EncodeArguments,
R: Encode,
Verifies that the argument and return types match the encoding of the method for the given selector. Read more
Auto Trait Implementations
impl<K, V> Send for NSDictionary<K, V> where
K: Sync,
V: Send,
K: Sync,
V: Send,
impl<K, V> Sync for NSDictionary<K, V> where
K: Sync,
V: Sync,
K: Sync,
V: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,