I am using rust-cpython to write functions in Rust that is callable in Python.
I have an existing struct that is used as an output. How to I make this into a PyObject that rust-cpython can understand?
My struct looks like this:
struct Block {
start: i32,
stop: i32,
}