pub trait AttributePolygonGenerator<A>: AttributeGenerator<A> + PolygonGenerator where
A: Attribute, {
type Output: Polygonal;
fn polygon_from(&self, state: &Self::State, index: usize) -> Self::Output;
}
pub trait AttributePolygonGenerator<A>: AttributeGenerator<A> + PolygonGenerator where
A: Attribute, {
type Output: Polygonal;
fn polygon_from(&self, state: &Self::State, index: usize) -> Self::Output;
}