[][src]Function ink_storage::traits::forward_pull_packed

pub fn forward_pull_packed<T>(ptr: &mut KeyPtr) -> T where
    T: PackedLayout

Pulls an instance of type T in packed fashion from the contract storage.

Loads the instance from the storage location identified by ptr. The storage entity is expected to be decodable in its packed form.

Note

Use this utility function to use a packed pull operation for the type instead of a spreaded pull operation.