pyo3::class::methods

Type Alias PyGetterDef

Source
pub type PyGetterDef = PyGetterDef;
👎Deprecated since 0.23.0: PyO3 implementation detail

Aliased Type§

struct PyGetterDef {
    pub(crate) name: &'static CStr,
    pub(crate) meth: for<'py> unsafe fn(_: Python<'py>, _: *mut PyObject) -> Result<*mut PyObject, PyErr>,
    pub(crate) doc: &'static CStr,
}

Fields§

§name: &'static CStr§meth: for<'py> unsafe fn(_: Python<'py>, _: *mut PyObject) -> Result<*mut PyObject, PyErr>§doc: &'static CStr
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here