Skip to main content

IntoPyObjectNautilusExt

Trait IntoPyObjectNautilusExt 

Source
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§

Source

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".

Implementors§

Source§

impl<'py, T> IntoPyObjectNautilusExt<'py> for T
where T: IntoPyObjectExt<'py>,