Module gazebo::cmp[][src]

Traits to help implementing dynamic comparisons.

Structs

PartialEqAny

A comparable “token” that can be returned to wrap a reference to an Any type for PartialEq.

Traits

MaybeEq

Marker to make any type “maybe” comparable by equality. Types that are comparable should override the default maybe_eq_any' implementation to return a PartialEqAny of something comparable (e.g. self).

Functions

maybe_eq

Compares a type T that is maybe comparable

Derive Macros

MaybeEq

Derive the MaybeEq trait.

MaybeEq_Never

Derive the MaybeEq trait, but so that it is never comparable.