pyo3::impl_::pyclass

Trait PyClass__or__SlotFragment

Source
pub trait PyClass__or__SlotFragment<T>: Sized {
    // Provided method
    unsafe fn __or__(
        self,
        py: Python<'_>,
        _slf: *mut PyObject,
        _other: *mut PyObject,
    ) -> PyResult<*mut PyObject> { ... }
}

Provided Methods§

Source

unsafe fn __or__( self, py: Python<'_>, _slf: *mut PyObject, _other: *mut PyObject, ) -> PyResult<*mut PyObject>

§Safety: _slf and _other 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