[][src]Trait plexus::encoding::FromEncoding

pub trait FromEncoding<E>: Sized where
    E: FaceDecoder + VertexDecoder
{ type Error: Debug; fn from_encoding(
        vertices: <E as VertexDecoder>::Output,
        faces: <E as FaceDecoder>::Output
    ) -> Result<Self, Self::Error>; }

Associated Types

type Error: Debug

Loading content...

Required methods

fn from_encoding(
    vertices: <E as VertexDecoder>::Output,
    faces: <E as FaceDecoder>::Output
) -> Result<Self, Self::Error>

Loading content...

Implementors

impl<E, G> FromEncoding<E> for MeshGraph<G> where
    G: GraphGeometry,
    E: FaceDecoder + VertexDecoder,
    E::Face: IntoGeometry<G::Face>,
    E::Vertex: IntoGeometry<G::Vertex>, 
[src]

type Error = GraphError

impl<E, P, G> FromEncoding<E> for MeshBuffer<P, G> where
    E: FaceDecoder<Face = ()> + VertexDecoder,
    E::Index: AsRef<[P::Vertex]>,
    E::Vertex: IntoGeometry<G>,
    P: Polygonal<Vertex = usize>,
    Self: FromRawBuffers<P, G, Error = BufferError>, 
[src]

type Error = Self::Error

Loading content...