Questions tagged [syntax]
The syntax tag has no usage guidance.
2
questions
0
votes
2
answers
21
views
decl_storage macro syntax
decl_storage! {
trait Store for Module<T: Trait> as KittyStorage {
Kitties get(kitty): map T::Hash => Kitty<T::Hash, T::Balance>;
What is this for use?
What is Store ? is ...
0
votes
1
answer
44
views
Definition of storage map for stored items
In the tutorial of learning substrate, a storage map for stored items is defined as follows, in which the symbol => appears, but this specification is not in the standard syntax of rust. How to ...