pub trait PyFloat { // Required method fn py_float(self) -> Result<f64, PyException>; }
Trait for Python-style float conversion