pub trait INSEnumerator<ObjectType>: PNSObject{
// Provided methods
fn m_next_object(&self) -> ObjectType { ... }
fn m_all_objects(&self) -> NSArray<ObjectType> { ... }
}
Expand description
An abstract class whose subclasses enumerate collections of objects, such as arrays and dictionaries.
Provided Methods§
Sourcefn m_next_object(&self) -> ObjectType
fn m_next_object(&self) -> ObjectType
Returns the next object from the collection being enumerated.
Sourcefn m_all_objects(&self) -> NSArray<ObjectType>
fn m_all_objects(&self) -> NSArray<ObjectType>
The array of unenumerated objects.
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.