Derive Macro solders_macros::EnumIntoPy
source · #[derive(EnumIntoPy)]
Expand description
Impl IntoPy
Example
use solders_macros::EnumIntoPy;
#[derive(PartialEq, Debug, EnumIntoPy)]
pub enum Foo {
A(u8),
B(u8)
}
#[derive(EnumIntoPy)]
Impl IntoPy
use solders_macros::EnumIntoPy;
#[derive(PartialEq, Debug, EnumIntoPy)]
pub enum Foo {
A(u8),
B(u8)
}