[go: up one dir, main page]

pyo3 0.12.3

Bindings to Python interpreter
Documentation
1
2
3
4
5
6
7
error[E0277]: the trait bound `TestClass: std::clone::Clone` is not satisfied
  --> $DIR/missing_clone.rs:15:32
   |
15 |     let t: TestClass = pyvalue.extract(py).unwrap();
   |                                ^^^^^^^ the trait `std::clone::Clone` is not implemented for `TestClass`
   |
   = note: required because of the requirements on the impl of `pyo3::FromPyObject<'_>` for `TestClass`