pub trait Arity<T>: ArrayLength<T> {
type ConstantsSize: ArrayLength<T>;
// Required method
fn tag() -> T;
}
Expand description
Available arities for the Poseidon hasher.
Required Associated Types§
sourcetype ConstantsSize: ArrayLength<T>
type ConstantsSize: ArrayLength<T>
Must be Arity + 1.
Required Methods§
Object Safety§
This trait is not object safe.