Expand description
Contains types for working with Python objects that own the underlying data.
Re-exportsยง
use crate::inspect::PyStaticExpr;๐experimental-inspectuse crate::sync::critical_section::with_critical_section;๐use crate::type_hint_union;๐experimental-inspectuse crate::Borrowed;๐use crate::Bound;๐use crate::CastError;๐use crate::FromPyObject;๐use crate::FromPyObject;๐use crate::IntoPyObject;๐use crate::IntoPyObject;๐use crate::Py;๐use crate::PyAny;๐use crate::PyErr;๐use crate::PyTypeInfo;๐use crate::Python;๐use crate::types::PyByteArray;๐use crate::types::PyBytes;๐use crate::types::PyString;๐use crate::types::PyTuple;๐use crate::types::bytearray::PyByteArrayMethods;๐use crate::types::bytes::PyBytesMethods;๐use crate::types::string::PyStringMethods;๐use alloc::sync::Arc;๐use core::borrow::Borrow;๐use core::convert::Infallible;๐use core::ops::Deref;๐use core::ptr::NonNull;๐use impl_traits;๐use crate::platform::prelude::*;๐
Macrosยง
- impl_
traits ๐
Structsยง
- PyBacked
Bytes - A wrapper around
[u8]where the storage is either owned by a Pythonbytesobject, or a RustBox<[u8]>. - PyBacked
Str - An equivalent to
Stringwhere the storage is owned by a Pythonbytesorstrobject.
Enumsยง
- PyBacked
Bytes ๐Storage