Trait objc2::rc::IdIntoIterator
source · pub trait IdIntoIterator {
type Item;
type IntoIter: Iterator<Item = Self::Item>;
// Required method
fn id_into_iter(this: Retained<Self>) -> Self::IntoIter;
// Provided method
fn retained_into_iter(this: Retained<Self>) -> Self::IntoIter { ... }
}
Expand description
Helper trait to implement IntoIterator
on Retained
.
This should be implemented in exactly the same fashion as if you were
implementing IntoIterator
for your type normally.
Required Associated Types§
Required Methods§
sourcefn id_into_iter(this: Retained<Self>) -> Self::IntoIter
fn id_into_iter(this: Retained<Self>) -> Self::IntoIter
Creates an iterator from an Retained
.
Soft-deprecated alias of RetainedIntoIterator::retained_into_iter
.
Provided Methods§
Object Safety§
This trait is not object safe.