Module types

Module types 

Source

Re-exportsยง

pub use slot::*;
pub use mapping::*;

Modulesยง

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.

Structsยง

LayoutCtx
Describes the context in which a storable value is being loaded or stored.

Enumsยง

Layout
Describes how a type is laid out in EVM storage.

Traitsยง

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.