pyo3::impl_::pyclass

Function field_from_object

Source
fn field_from_object<ClassT, FieldT, Offset>(obj: *mut PyObject) -> *mut FieldT
where ClassT: PyClass, Offset: OffsetCalculator<ClassT, FieldT>,
Expand description

calculates the field pointer from an PyObject pointer

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