MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / Python

Class Python

src/python.rs:39–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37/// The type `Python<'p>` then acts like a reference `&'p PythonInterpreterState`.
38#[derive(Copy, Clone)]
39pub struct Python<'p>(PhantomData<&'p GILGuard>);
40
41/// Trait implemented by all Python object types.
42pub trait PythonObject: crate::conversion::ToPyObject + Send + Sized + 'static {

Callers 1

assume_gil_acquiredMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected