[][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 MeshBuffer<Polygon<usize>, G> where
    E: FaceDecoder<Face = (), Index = Polygon<usize>> + VertexDecoder,
    E::Vertex: IntoGeometry<G>, 
[src]

type Error = BufferError

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

Loading content...