Macro hotdrink_wasm::component_type_wrapper [−][src]
macro_rules! component_type_wrapper { ( $(#[$outer_meta:meta])* $wrapper_vis:vis struct $wrapper_type:ident { $(#[$inner_meta:meta])* $inner_vis:vis enum $inner_type:ident { $( $constr:ident ),* } } ) => { ... }; }
Generate a WebAssembly wrapper around an inner type to use in a constraint system.
component_type_wrapper!
is to a constraint system made with constraint_system_wrapper!
, as
component_type!
is to ConstraintSystem
.