objc_foundation

Trait INSFastEnumeration

Source
pub trait INSFastEnumeration: INSObject {
    type Item: INSObject;

    // Provided method
    fn enumerator(&self) -> NSFastEnumerator<'_, Self>  { ... }
}

Required Associated Types§

Provided Methods§

Source

fn enumerator(&self) -> NSFastEnumerator<'_, Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<K, V> INSFastEnumeration for NSDictionary<K, V>
where K: INSObject, V: INSObject,

Source§

type Item = K

Source§

impl<T, O> INSFastEnumeration for NSArray<T, O>
where T: INSObject, O: Ownership,

Source§

type Item = T

Source§

impl<T, O> INSFastEnumeration for NSMutableArray<T, O>
where T: INSObject, O: Ownership,

Source§

type Item = T