Attribute Macro cpy_binder::cpy_enum
source · #[cpy_enum]
Expand description
Macro used to export enums
Example
#[cpy_enum]
#[comment = "Material types"]
enum Material {
Plastic,
Rubber,
}
#[cpy_enum]
Macro used to export enums
Example
#[cpy_enum]
#[comment = "Material types"]
enum Material {
Plastic,
Rubber,
}