pub trait Len {
    type Output: Unsigned;

    fn len(&self) -> Self::Output;
}
Expand description

A type operator that gives the length of an Array or the number of bits in a UInt.

Required Associated Types

The length as a type-level unsigned integer.

Required Methods

This function isn’t used in this crate, but may be useful for others.

Implementors

Length of ATerm by itself is 0

Length of UTerm by itself is 0

Length of a bit is 1

Size of a TypeArray