pub trait RichcmpEqualityOnly: PartialEq {
    // Provided method
    fn richcmp(&self, other: &Self, op: CompareOp) -> PyResult<bool> { ... }
}

Provided Methods§

source

fn richcmp(&self, other: &Self, op: CompareOp) -> PyResult<bool>

Object Safety§

This trait is not object safe.

Implementors§