[][src]Enum plexus::MeshArity

pub enum MeshArity {

Arity of a compound structure.

MeshArity represents the arity of a compound structure, which may be uniform or non-uniform. This is typically the value-level arity for mesh data structures like MeshGraph and MeshBuffer.



A compound structure has uniform arity if all of its components have the same arity, such as a MeshBuffer composed entirely of trigons.


A compound structure has non-uniform arity if the arity of its components differ, such as a MeshGraph composed of trigons and tetragons.

Non-uniform arity is represented as an inclusive range known as an interval. This is the minimum and maximum arity of the components, in that order.


impl MeshArity[src]

pub fn from_components<T, I>(components: I) -> Self where
    T: DynamicArity<Dynamic = usize>,
    I: IntoIterator,
    I::Item: Borrow<T>, 

Trait Implementations

impl Arity for MeshArity[src]

impl Clone for MeshArity[src]

impl Copy for MeshArity[src]

impl Debug for MeshArity[src]

impl PartialEq<MeshArity> for MeshArity[src]

impl StructuralPartialEq for MeshArity[src]

Auto Trait Implementations

impl RefUnwindSafe for MeshArity

impl Send for MeshArity

impl Sync for MeshArity

impl Unpin for MeshArity

impl UnwindSafe for MeshArity

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T> FromGeometry<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> IntoGeometry<U> for T where
    U: FromGeometry<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: PartialEq<T> + Copy + Any + Debug

impl<T> Slottable for T where
    T: Copy

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,