fn field_from_object<ClassT, FieldT, Offset>(obj: *mut PyObject) -> *mut FieldTwhere
ClassT: PyClass,
Offset: OffsetCalculator<ClassT, FieldT>,
Expand description
calculates the field pointer from an PyObject pointer
fn field_from_object<ClassT, FieldT, Offset>(obj: *mut PyObject) -> *mut FieldTwhere
ClassT: PyClass,
Offset: OffsetCalculator<ClassT, FieldT>,
calculates the field pointer from an PyObject pointer