Module traits

Source
Expand description

§Core Traits for FixedVec

This module defines the core traits that enable the generic and unified FixedVec architecture. These traits abstract away the details of the underlying storage words and the conversion logic for different element types, allowing FixedVec to be highly configurable.

Traits§

DefaultParams
A sealed trait to associate an element type T with its default storage word W and Endianness E.
Storable
A trait that defines a bidirectional, lossless conversion between a user-facing element type T and its storage representation W.
Word
A trait that abstracts over the primitive unsigned integer types that can serve as the storage words in a FixedVec.