pyo3::impl_::pyclass

Trait PyClass__delitem__SlotFragment

Source
pub trait PyClass__delitem__SlotFragment<T>: Sized {
    // Provided method
    unsafe fn __delitem__(
        self,
        _py: Python<'_>,
        _slf: *mut PyObject,
        _attr: *mut PyObject,
    ) -> PyResult<()> { ... }
}

Provided Methods§

Source

unsafe fn __delitem__( self, _py: Python<'_>, _slf: *mut PyObject, _attr: *mut PyObject, ) -> PyResult<()>

§Safety: _slf and _attr must be valid non-null Python objects

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.

Implementors§

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here