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-inspectuse 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.
- PyBorrowed
Unbound π - Variant of
Borrowedwhich doesnβt have the attachment lifetime'pyand therefore can be used in contexts where the Python interpreter is not attached, such as during GC traversal.
TraitsΒ§
- Bound
Object - Owned or borrowed Python smart pointer with a lifetime
'pysignalling attachment to the Python interpreter.
FunctionsΒ§
- panic_
on_ πnull - python_
format π