[][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<Group = 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,
    G: FromGeometry<P::Vertex>,
    P: Map<<Vec<<R as Grouping>::Group> as IndexBuffer<R>>::Index> + Topological,
    P::Output: Topological<Vertex = <Vec<<R as Grouping>::Group> as IndexBuffer<R>>::Index>,
    Vec<<R as Grouping>::Group>: Push<R, P::Output>,
    <Vec<<R as Grouping>::Group> as IndexBuffer<R>>::Index: NumCast,
    Self: FromRawBuffers<R::Group, G>, 
[src]

type Error = Self::Error

Loading content...