Macro iota_sc_hname_generator::calculate_hash[][src]

calculate_hash!() { /* proc-macro */ }

Calculates hash of the input string and generates the output: “0x123ABC” Usage1: pub const hash_name : u32 = calculate_hash!(“name”) Usage2: enum MyEnum { Hash_Name = calculate_hash!(“fairroulette”); }