[][src]Trait plexus::primitive::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<A, N, P, G> FromIndexer<P, P> for MeshBuffer<Flat<A, N>, G> where
    A: NonZero + Unsigned,
    N: Copy + Integer + NumCast + Unsigned,
    P: Arity + IntoVertices + Polygonal,
    P::Vertex: IntoGeometry<G>, 
[src]

type Error = BufferError

impl<G, P> FromIndexer<P, P> for MeshGraph<G> where
    G: Geometry,
    P: Map<usize> + Topological,
    P::Output: IntoVertices,
    P::Vertex: IntoGeometry<G::Vertex>, 
[src]

type Error = GraphError

impl<P, Q, G> FromIndexer<P, P> for MeshBuffer<Structured<Q>, G> where
    P: Map<usize> + Polygonal,
    P::Output: Map<Q::Vertex>,
    P::Vertex: IntoGeometry<G>,
    Q: Polygonal,
    Q::Vertex: Copy + Integer + NumCast + Unsigned,
    Structured<Q>: IndexBuffer,
    <Structured<Q> as IndexBuffer>::Item: Copy + From<<P::Output as Map<Q::Vertex>>::Output> + IntoVertices + Topological<Vertex = Q::Vertex>, 
[src]

type Error = BufferError

Loading content...