[][src]Trait plexus::index::FromIndexer

pub trait FromIndexer<P, Q>: Sized where
    P: Topological,
    Q: Topological<Vertex = P::Vertex>, 
{ type Error: Debug; fn from_indexer<I, N>(input: I, indexer: N) -> Result<Self, Self::Error>
    where
        I: IntoIterator<Item = P>,
        N: Indexer<Q, P::Vertex>
; }

Associated Types

type Error: Debug

Loading content...

Required methods

fn from_indexer<I, N>(input: I, indexer: N) -> Result<Self, Self::Error> where
    I: IntoIterator<Item = P>,
    N: Indexer<Q, P::Vertex>, 

Loading content...

Implementors

impl<G, P> FromIndexer<P, P> for MeshGraph<G> where
    G: GraphGeometry,
    P: Map<usize> + Polygonal,
    P::Output: Grouping<Item = P::Output> + IntoVertices + Polygonal<Vertex = usize>,
    P::Vertex: IntoGeometry<G::Vertex>,
    Vec<P::Output>: IndexBuffer<P::Output, Index = usize>, 
[src]

type Error = GraphError

impl<R, P, G> FromIndexer<P, P> for MeshBuffer<R, G> where
    R: Grouping,
    P: Map<<Vec<R::Item> as IndexBuffer<R>>::Index> + Topological,
    P::Output: Topological<Vertex = <Vec<R::Item> as IndexBuffer<R>>::Index>,
    P::Vertex: IntoGeometry<G>,
    Vec<R::Item>: Push<R, P::Output>,
    Self: FromRawBuffers<R::Item, G>, 
[src]

type Error = Self::Error

Loading content...