Skip to main content

SymCurveIterator

Trait SymCurveIterator 

Source
pub trait SymCurveIterator: Iterator<Item = f64> + Sized {
    // Provided method
    fn sym_curve_iter(self, win: usize, step: usize) -> SymCurveIter<Self> ⓘ { ... }
}
Expand description

A trait for curvature iterators to yield symmetry scores.

This is layer 5 of the iterator stack, sitting on the curvature values that CurveIter produces.

Provided Methods§

Source

fn sym_curve_iter(self, win: usize, step: usize) -> SymCurveIter<Self> ⓘ

Wraps the iterator in a SymCurveIter.

§Parameters
  • win: The margin kept on each side of a dyad. The reference uses 101.
  • step: The stride between dyads and between mirrored pairs. Values below 1 are treated as 1, since a stride of zero would never advance.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<I: Iterator<Item = f64>> SymCurveIterator for I