Function zink_codegen::storage::parse
source · pub fn parse(input: ItemType) -> TokenStream
Expand description
Parse storage attribute.
Method get
unwraps the ptr as the original type, mainly
mainly for passing the compilation checks at the moment,
and it works for WASM in real cases as well.
For the cases in EVM, it doesn’t matter it returns pointer since the value will be left on stack anyway.