Module pyo3::impl_::wrap

source ·

Traits§

  • Used to wrap the result of #[pyfunction] and #[pymethods].
  • Used to wrap values in Option<T> for default arguments.

Functions§

  • This is a follow-up function to OkWrap::wrap that converts the result into a *mut ffi::PyObject pointer.
  • This is a follow-up function to OkWrap::wrap that converts the result into a safe wrapper.
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here