[][src]Crate tuple_arity

Traits

Arity

Trait for getting the arity of a value. You shouldn't need to impl this yourself.

Functions

tuple_arity

Gets the arity of the specified value. If the value isn't a tuple, the function will return 1.