Module const_cmp::polymorphism[][src]

Structs

CmpWrapper
IsAConstCmpMarker

Hack used to automatically wrap standard library types inside CmpWrapper, while leaving user defined types unwrapped.

IsArrayKind

Marker type for arrays and slices, used as the Kind associated type in ConstCmpMarker.

IsNotStdKind

Marker type for non-standard library types, used as the Kind associated type in ConstCmpMarker.

IsStdKind

Marker type for the remaining standard library types,, used as the Kind associated type in ConstCmpMarker.

Traits

ConstCmpMarker

Marker trait for types that implement the const comparison methods.