Trait ink_storage::traits::StorageLayout[][src]

pub trait StorageLayout {
    fn layout(key_ptr: &mut KeyPtr) -> Layout;
}
Expand description

Implemented by types that have a storage layout.

Required methods

Returns the static storage layout of Self.

The given key pointer is guiding the allocation of static fields onto the contract storage regions.

Implementations on Foreign Types

Implementors