pyo3::class::methods

Type Alias PySetterDef

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

Aliased Type§

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

Fields§

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