Function stabby_abi::report::gen_id
source · pub const fn gen_id(report: &TypeReport) -> u64
Expand description
Generates an ID based on a TypeReport
using Sha256
.
The hash also contains information about the architecture, allowing to consider a same struct distinct depending on the architecture’s pointer size, alignment of u128, or endianness.