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

Trait PyClass__ge__SlotFragment

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

Provided Methods§

Source

unsafe fn __ge__( 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§

Source§

impl<T> PyClass__ge__SlotFragment<T> for &PyClassImplCollector<T>

impl PyClass__ge__SlotFragment<Ordered> for PyClassImplCollector<Ordered>

impl PyClass__ge__SlotFragment<OrderedDefaultNe> for PyClassImplCollector<OrderedDefaultNe>