pub trait PyClass__setattr__SlotFragment<T>: Sized {
// Provided method
unsafe fn __setattr__(
self,
_py: Python<'_>,
_slf: *mut PyObject,
_attr: *mut PyObject,
_value: NonNull<PyObject>,
) -> PyResult<()> { ... }
}
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.