| 12 | #[repr(C)] |
| 13 | #[derive(Copy)] |
| 14 | pub struct PyGetSetDef { |
| 15 | #[cfg(not(Py_3_7))] |
| 16 | pub name: *mut c_char, |
| 17 | #[cfg(Py_3_7)] |
| 18 | pub name: *const c_char, |
| 19 | pub get: Option<getter>, |
| 20 | pub set: Option<setter>, |
| 21 | #[cfg(not(Py_3_7))] |
| 22 | pub doc: *mut c_char, |
| 23 | #[cfg(Py_3_7)] |
| 24 | pub doc: *const c_char, |
| 25 | pub closure: *mut c_void, |
| 26 | } |
| 27 | |
| 28 | impl Clone for PyGetSetDef { |
| 29 | #[inline] |
nothing calls this directly
no outgoing calls
no test coverage detected