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

Class PyGetSetDef

python27-sys/src/descrobject.rs:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12#[repr(C)]
13#[derive(Copy)]
14pub struct PyGetSetDef {
15 pub name: *mut c_char,
16 pub get: Option<getter>,
17 pub set: Option<setter>,
18 pub doc: *mut c_char,
19 pub closure: *mut c_void,
20}
21
22impl Clone for PyGetSetDef {
23 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected