Skip to main content
modify in body
Source Link

I came across the ink_storage::Mapping data structure. The official doc seems to explain that how to use it but not why it's needed. It seems more complicated to initialize and work with than the maps defined by Rust's standard libraryRust's standard library.

I came across the ink_storage::Mapping data structure. The official doc seems to explain how to use it but not why it's needed. It seems more complicated to initialize and work with than the maps defined by Rust's standard library.

I came across the ink_storage::Mapping data structure. The official doc seems to explain that how to use it but not why it's needed. It seems more complicated to initialize and work with than the maps defined by Rust's standard library.

It didn't explain what was meant by "standard mapping"
Source Link

What's the need for ink::storageink_storage::Mapping instead of the maps defined by Rust's standard Mappinglibrary?

I came across the ink storage Mappingink_storage::Mapping data structure. The official doc seems to explain how to use it but not why it's needed. It seems more complicated to initialize and work with than the maps defined by Rust's standard library.

What's the need for ink::storage::Mapping instead of the standard Mapping?

I came across the ink storage Mapping data structure. The official doc seems to explain how to use it but not why it's needed. It seems more complicated to initialize and work with.

What's the need for ink_storage::Mapping instead of the maps defined by Rust's standard library?

I came across the ink_storage::Mapping data structure. The official doc seems to explain how to use it but not why it's needed. It seems more complicated to initialize and work with than the maps defined by Rust's standard library.

Source Link

What's the need for ink::storage::Mapping instead of the standard Mapping?

I came across the ink storage Mapping data structure. The official doc seems to explain how to use it but not why it's needed. It seems more complicated to initialize and work with.