Trait mash::model::BuildModel[][src]

pub trait BuildModel {
    type Vertex;
    fn build_model<V, I>(self) -> Result<Model<V, I>, Error>
    where
        V: Vertex,
        I: Index,
        V: From<Self::Vertex>
; }

Something which we can build a model out of.

Associated Types

type Vertex[src]

The vertex type that we need to convert from.

Loading content...

Required methods

fn build_model<V, I>(self) -> Result<Model<V, I>, Error> where
    V: Vertex,
    I: Index,
    V: From<Self::Vertex>, 
[src]

Loading content...

Implementors

impl BuildModel for Wavefront[src]

type Vertex = Vertex

impl<'a> BuildModel for Object<'a>[src]

type Vertex = Vertex

Loading content...