Skip to main content

Module instance

Module instance 

Source

Re-exportsΒ§

use crate::call::PyCallArgs; πŸ”’
use crate::conversion::IntoPyObject; πŸ”’
use crate::err::PyErr; πŸ”’
use crate::err::PyResult; πŸ”’
use crate::impl_::pyclass::PyClassImpl; πŸ”’
use crate::inspect::PyStaticExpr; πŸ”’ experimental-inspect
use crate::pycell::impl_::PyClassObjectLayout; πŸ”’
use crate::pycell::PyBorrowError; πŸ”’
use crate::pycell::PyBorrowMutError; πŸ”’
use crate::pyclass::boolean_struct::False; πŸ”’
use crate::pyclass::boolean_struct::True; πŸ”’
use crate::types::DerefToPyAny; πŸ”’
use crate::types::PyDict; πŸ”’
use crate::types::PyString; πŸ”’
use crate::types::any::PyAnyMethods; πŸ”’
use crate::types::string::PyStringMethods; πŸ”’
use crate::types::typeobject::PyTypeMethods; πŸ”’
use crate::CastError; πŸ”’
use crate::CastIntoError; πŸ”’
use crate::FromPyObject; πŸ”’
use crate::FromPyObject; πŸ”’
use crate::PyAny; πŸ”’
use crate::PyClass; πŸ”’
use crate::PyClassInitializer; πŸ”’
use crate::PyRef; πŸ”’
use crate::PyRefMut; πŸ”’
use crate::PyTypeInfo; πŸ”’
use crate::Python; πŸ”’
use crate::ffi; πŸ”’
use crate::PyTypeCheck; πŸ”’
use crate::internal::state; πŸ”’
use core::marker::PhantomData; πŸ”’
use core::mem::ManuallyDrop; πŸ”’
use core::ops::Deref; πŸ”’
use core::ptr; πŸ”’
use core::ptr::NonNull; πŸ”’
use crate::platform::prelude::*; πŸ”’

ModulesΒ§

bound_object_sealed πŸ”’

StructsΒ§

Borrowed
A borrowed equivalent to Bound.
Bound
A Python thread-attached equivalent to Py<T>.
Py
A reference to an object allocated on the Python heap.
PyBorrowedUnbound πŸ”’
Variant of Borrowed which doesn’t have the attachment lifetime 'py and therefore can be used in contexts where the Python interpreter is not attached, such as during GC traversal.

TraitsΒ§

BoundObject
Owned or borrowed Python smart pointer with a lifetime 'py signalling attachment to the Python interpreter.

FunctionsΒ§

panic_on_null πŸ”’
python_format πŸ”’
⚠️ Internal Docs ⚠️ Not Public API πŸ‘‰ Official Docs Here