pyo3::class::methods

Type Alias PyClassAttributeDef

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

Aliased Type§

struct PyClassAttributeDef {
    pub(crate) name: &'static CStr,
    pub(crate) meth: for<'p> fn(_: Python<'p>) -> Result<Py<PyAny>, PyErr>,
}

Fields§

§name: &'static CStr§meth: for<'p> fn(_: Python<'p>) -> Result<Py<PyAny>, PyErr>
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here