Skip to main content
A trait for creating the struct containing the mutable StorageBase or FlattenedStorage of all the members of a contract state.

Signature

Trait functions

storage_mut

Creates a struct containing a mutable version of the StorageBase or FlattenedStorage of all the members of a contract state. Should be called from the deref method of the contract state.

Signature

Trait types

BaseType

The type of the struct containing the mutable StorageBase or FlattenedStorage of all the members of the type T.

Signature