Trait solstice_2d::BoxedGeometry[][src]

pub trait BoxedGeometry<'a, V, I>: DynClone + Debug where
    V: Vertex,
    I: Index
{ fn vertices(&self) -> Box<dyn Iterator<Item = V> + 'a>;
fn indices(&self) -> Box<dyn Iterator<Item = I> + 'a>; }

Required methods

fn vertices(&self) -> Box<dyn Iterator<Item = V> + 'a>[src]

fn indices(&self) -> Box<dyn Iterator<Item = I> + 'a>[src]

Loading content...

Implementors

impl<'a, V, I, G> BoxedGeometry<'a, Vertex2D, u32> for G where
    V: Iterator<Item = Vertex2D> + 'a,
    I: Iterator<Item = u32> + 'a,
    G: Geometry<Vertex2D, Vertices = V, Indices = I> + DynClone + Debug
[src]

impl<'a, V, I, G> BoxedGeometry<'a, Vertex3D, u32> for G where
    V: Iterator<Item = Vertex3D> + 'a,
    I: Iterator<Item = u32> + 'a,
    G: Geometry<Vertex3D, Vertices = V, Indices = I> + DynClone + Debug
[src]

Loading content...