macro_rules! private_impl_to_python_with_reference_and_pyany {
    (&$self: ident, $py: ident, $rs_type: ty => $py_type: ty $convert: block) => { ... };
}
Expand description

Implement ToPython multiple times for the given types, accounting for owned/reference and PyAny.