Enum pyo3::class::basic::CompareOp[][src]

pub enum CompareOp {
    Lt,
    Le,
    Eq,
    Ne,
    Gt,
    Ge,
}
Expand description

Operators for the __richcmp__ method

Variants

Lt

The less than operator.

Le

The less than or equal to operator.

Eq

The equality operator.

Ne

The not equal to operator.

Gt

The greater than operator.

Ge

The greater than or equal to operator.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.