pub trait CoordIter {
type Item: Add<Output = Self::Item> + Copy + Into<f64> + Mul<Output = Self::Item> + Sub<Output = Self::Item>;
type Iter<'a>: Iterator<Item = Self::Item>
where Self: 'a;
// Required method
fn coord_iter(&self) -> Self::Iter<'_>;
}
Expand description
helper trait for computing edit distances by iteration by iteration over primitives
Required Associated Types§
Required Methods§
Sourcefn coord_iter(&self) -> Self::Iter<'_>
fn coord_iter(&self) -> Self::Iter<'_>
returns an iterator over coordinates
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.