pub trait RainbowIterator: Sized + IntoIterator {
// Provided methods
fn iter_to_output(self, output: &mut dyn Output)
where Self::Item: InlineOutput { ... }
fn iter_list_hashes(self, f: &mut impl FnMut(Hash))
where Self::Item: ListHashes { ... }
fn iter_traverse(self, visitor: &mut impl PointVisitor)
where Self::Item: Topological { ... }
}Provided Methods§
fn iter_to_output(self, output: &mut dyn Output)where
Self::Item: InlineOutput,
fn iter_list_hashes(self, f: &mut impl FnMut(Hash))where
Self::Item: ListHashes,
fn iter_traverse(self, visitor: &mut impl PointVisitor)where
Self::Item: Topological,
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.