Module pyo3::pybacked

source ·
Expand description

Contains types for working with Python objects that own the underlying data.


  • A wrapper around [u8] where the storage is either owned by a Python bytes object, or a Rust Box<[u8]>.
  • A wrapper around str where the storage is owned by a Python bytes or str object.