pub trait Center: Iterator + Sized{
// Provided method
fn center(self) -> Option<Point2> { ... }
}
Expand description
Helper trait for iterator of points, used to find center of these points.
Provided Methods§
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.