pub trait AttributeVertexGenerator<A>: AttributeGenerator<A> where
A: Attribute, {
type Output;
fn vertex_count(&self) -> usize;
fn vertex_from(&self, state: &Self::State, index: usize) -> Self::Output;
}
pub trait AttributeVertexGenerator<A>: AttributeGenerator<A> where
A: Attribute, {
type Output;
fn vertex_count(&self) -> usize;
fn vertex_from(&self, state: &Self::State, index: usize) -> Self::Output;
}