Skip to main content

Module pybacked

Module pybacked 

Source
Expand description

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

Re-exportsยง

use crate::inspect::PyStaticExpr; ๐Ÿ”’ experimental-inspect
use crate::sync::critical_section::with_critical_section; ๐Ÿ”’
use crate::type_hint_union; ๐Ÿ”’ experimental-inspect
use 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ยง

PyBackedBytes
A wrapper around [u8] where the storage is either owned by a Python bytes object, or a Rust Box<[u8]>.
PyBackedStr
An equivalent to String where the storage is owned by a Python bytes or str object.

Enumsยง

PyBackedBytesStorage ๐Ÿ”’
โš ๏ธ Internal Docs โš ๏ธ Not Public API ๐Ÿ‘‰ Official Docs Here