[][src]Trait plexus::Monomorphic

pub trait Monomorphic: StaticArity<Static = usize> { }

Topological types with fixed and singular arity.

Types are monomorphic if they have a fixed and singular arity as types and values. For example, Trigon always and only represents a trigon (triangle) with an arity of three. Trigon values always have an arity of three and types composed of only Trigons have a compound arity of three.

This contrasts polymorphic types like BoundedPolygon, which have an interval arity at the type-level and a singular but varying arity for values (because a BoundedPolygon value may be either a trigon or tertragon).

Implementors

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading content...