[][src]Trait plexus::StaticArity

pub trait StaticArity {
    type Static: Arity;

    const ARITY: Self::Static;
}

Type-level arity.

This trait specifies the arity that a type supports. Values of a StaticArity type have an arity that reflects this constant, which may be any type or form implementing the Arity trait.

Associated Types

type Static: Arity

Loading content...

Associated Constants

const ARITY: Self::Static

Loading content...

Implementors

impl<A, N> StaticArity for Flat<A, N> where
    A: NonZero + Unsigned,
    N: Copy + Integer + Unsigned
[src]

type Static = usize

impl<B, M, G> StaticArity for FaceView<B> where
    B: Reborrow<Target = M>,
    M: AsStorage<Face<G>> + Parametric<Data = G>,
    G: GraphData
[src]

type Static = <MeshGraph<G> as StaticArity>::Static

impl<B, M, G> StaticArity for Ring<B> where
    B: Reborrow<Target = M>,
    M: AsStorage<Arc<G>> + Consistent + Parametric<Data = G>,
    G: GraphData
[src]

type Static = <MeshGraph<G> as StaticArity>::Static

impl<G> StaticArity for MeshGraph<G> where
    G: GraphData
[src]

impl<R, G> StaticArity for MeshBuffer<R, G> where
    R: Grouping
[src]

type Static = <R as StaticArity>::Static

impl<T> StaticArity for BoundedPolygon<T>[src]

type Static = (usize, usize)

impl<T> StaticArity for NGon<[T; 2]>[src]

type Static = usize

impl<T> StaticArity for NGon<[T; 3]>[src]

type Static = usize

impl<T> StaticArity for NGon<[T; 4]>[src]

type Static = usize

impl<T> StaticArity for NGon<[T; 5]>[src]

type Static = usize

impl<T> StaticArity for NGon<[T; 6]>[src]

type Static = usize

impl<T> StaticArity for NGon<[T; 7]>[src]

type Static = usize

impl<T> StaticArity for NGon<[T; 8]>[src]

type Static = usize

impl<T> StaticArity for NGon<[T; 9]>[src]

type Static = usize

impl<T> StaticArity for NGon<[T; 10]>[src]

type Static = usize

impl<T> StaticArity for NGon<[T; 11]>[src]

type Static = usize

impl<T> StaticArity for NGon<[T; 12]>[src]

type Static = usize

impl<T> StaticArity for UnboundedPolygon<T>[src]

Loading content...