[][src]Module union_impl::union

Defines Union struct and generate_union function to generate output of the union! macro based on input and given config.

Re-exports

pub use config::Config;

Modules

config

Defines configuration of the union! macro.

name_constructors

Name constructors for code generation by union! macro.

Structs

Union

Result of parsing union! macro input.

Functions

generate_union

Generates output of the union! macro based on parsed input and given config.