Macro rigetti_pyo3::private_impl_to_python_for

source ยท
macro_rules! private_impl_to_python_for {
    (&$($lt: lifetime)? $self: ident, $py: ident, $rs_type: ty => $py_type: ty $convert: block) => { ... };
}
Expand description

Implement ToPython once for the given Rust type. Will implement for a reference to the type if a lifetime is provided.