To define a custom Python class, a Rust struct needs to be annotated with the #[pyclass] ... PyO3 employs the Interior Mutability Pattern like RefCell .
確定! 回上一頁