Derive Macro mun_codegen_macros::AsValue

source ·
#[derive(AsValue)]
Expand description

This procedural macro implements the AsValue trait as well as several required other traits. All of these traits enable creating an inkwell::values::StructValue from a generic struct, as long as all fields of the struct also implement AsValue.