pyo3::pycell::impl_

Struct PyClassObjectBase

Source
#[repr(C)]
#[doc(hidden)] pub struct PyClassObjectBase<T> { ob_base: T, }
Expand description

Base layout of PyClassObject.

Fields§

§ob_base: T

Trait Implementations§

Source§

impl<T, U> PyClassObjectLayout<T> for PyClassObjectBase<U>
where U: PySizedLayout<T>, T: PyTypeInfo,

Source§

fn ensure_threadsafe(&self)

Source§

fn check_threadsafe(&self) -> Result<(), PyBorrowError>

Source§

unsafe fn tp_dealloc(py: Python<'_>, slf: *mut PyObject)

Implementation of tp_dealloc. Read more
Source§

impl<T, U> PyLayout<T> for PyClassObjectBase<U>
where U: PySizedLayout<T>,

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here