# [−][src]Enum plexus::MeshArity

pub enum MeshArity {
Uniform(usize),
NonUniform(usize, usize),
}

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.

## Variants

Uniform(usize)

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

NonUniform(usize, usize)

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.

## Blanket Implementations

### impl<T> Same<T> for T

#### type Output = T

Should always be Self

### impl<T> ToOwned for T where    T: Clone, [src]

#### type Owned = T

The resulting type after obtaining ownership.

### impl<T, U> TryFrom<U> for T where    U: Into<T>, [src]

#### type Error = Infallible

The type returned in the event of a conversion error.

### impl<T, U> TryInto<U> for T where    U: TryFrom<T>, [src]

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

The type returned in the event of a conversion error.