Skip to main content

RainbowIterator

Trait RainbowIterator 

Source
pub trait RainbowIterator: Sized + IntoIterator {
    // Provided methods
    fn iter_to_output(self, output: &mut impl 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 { ... }
    fn iter_bytes_cmp(
        self,
        other: impl IntoIterator<Item = Self::Item>,
    ) -> Ordering
       where Self::Item: ByteOrd { ... }
}

Provided Methods§

Source

fn iter_to_output(self, output: &mut impl Output)
where Self::Item: InlineOutput,

Source

fn iter_list_hashes(self, f: &mut impl FnMut(Hash))
where Self::Item: ListHashes,

Source

fn iter_traverse(self, visitor: &mut impl PointVisitor)
where Self::Item: Topological,

Source

fn iter_bytes_cmp(self, other: impl IntoIterator<Item = Self::Item>) -> Ordering
where Self::Item: ByteOrd,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§