Module types
Source pub use slot::*;pub use mapping::*;
- array
- Fixed-size array handler for the storage traits.
- bytes_like ๐
- Bytes-like (
Bytes, String) implementation for the storage traits. - mapping
- Type-safe wrapper for EVM storage mappings (hash-based key-value storage).
- primitives ๐
- Single-word primitives (up-to 32 bytes) implementation for the storage traits.
- sealed ๐
- Private module to seal the
Packable trait. - slot ๐
- vec
- Dynamic array (
Vec<T>) implementation for the storage traits.
- LayoutCtx
- Describes the context in which a storable value is being loaded or stored.
- Layout
- Describes how a type is laid out in EVM storage.
- Handler
- Abstracts reading, writing, and deleting values for
Storable types. - Packable
- Trait for types that can be packed into EVM storage slots.
- Storable
- High-level storage operations for storable types.
- StorableType
- Helper trait to access storage layout information without requiring const generic parameter.
- StorageKey
- Trait for types that can be used as storage mapping keys.