[][src]Trait plexus::Arity

pub trait Arity: Copy {
    fn into_interval(self) -> (usize, Option<usize>);
}

Required methods

fn into_interval(self) -> (usize, Option<usize>)

Loading content...

Implementations on Foreign Types

impl Arity for usize[src]

Singular arity.

impl Arity for (usize, usize)[src]

Closed interval arity.

This type represents a closed interval arity with a minimum and maximum inclusive range.

impl Arity for (usize, Option<usize>)[src]

Open interval arity.

This type represents an open interval arity with a minimum and optional maximum inclusive range. When there is no maximum (None), the maximum arity is unspecified. This typically means that there is no theoretical maximum.

Loading content...

Implementors

impl Arity for MeshArity[src]

Loading content...