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§
Sourcefn sym_curve_iter(self, win: usize, step: usize) -> SymCurveIter<Self> ⓘ
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".