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
The vertex type that we need to convert from.
Required Methods
fn build_model<V, I>(self) -> Result<Model<V, I>, Error> where
V: Vertex,
I: Index,
V: From<Self::Vertex>,
V: Vertex,
I: Index,
V: From<Self::Vertex>,