To define a custom Python class, a Rust struct needs to be annotated with the ... Alternatively, if your new method may fail you can return PyResult<Self> .
確定! 回上一頁