Closed termoshtt closed 3 months ago
TypeInfo
pyo3::inspect::types::TypeInfo
PyStubType
u32
i32
String
Vec<T>
HashMap<K, V>
PyAny
PyList
PyDict
#[derive(PyStubType)]
TypeInfo
is introduced which replacepyo3::inspect::types::TypeInfo
. It is generated byPyStubType
traits.PyStubType
tou32
,i32
,String
, ...)Vec<T>
,HashMap<K, V>
, ...)PyAny
,PyList
,PyDict
)PyStubType
for user struct, i.e.#[derive(PyStubType)]
will be next PR.