pub trait IntoPyObjectNautilusExt<'py>: IntoPyObjectExt<'py> {
// Provided method
fn into_py_any_unwrap(self, py: Python<'py>) -> Py<PyAny>
where Self: IntoPyObject<'py, Error = Infallible> { ... }
}Expand description
Extends IntoPyObjectExt with an infallible conversion to Py<PyAny>.
Provided Methods§
Sourcefn into_py_any_unwrap(self, py: Python<'py>) -> Py<PyAny>where
Self: IntoPyObject<'py, Error = Infallible>,
fn into_py_any_unwrap(self, py: Python<'py>) -> Py<PyAny>where
Self: IntoPyObject<'py, Error = Infallible>,
Converts self into a [Py<PyAny>] when the underlying conversion is infallible.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".