awestlake87 / pyo3-asyncio

Other
315 stars 48 forks source link

struct variants enuemration support #129

Open ertosns opened 1 week ago

ertosns commented 1 week ago

i tried, something like:

[pyclass]

pub struct StructName(pub Whatever):

[pyclass]

pub enum EnumName { VariantName(StructName), VariantName2(StructName), }

I getting an error 'currently only support unit variants', is there a plan to support struct variants?