[−][src]Trait pergola::ValTraits
ValTraits
is used to constrain the LatticeDef::T
types to include
basic assumptions we need all datatypes to support. But notably not Ord
!
While several LatticeDef
type parameters do require Ord
(which is
because of the the deriving-bug workaround described in the docs of
DefTraits
) the partial orders of the lattice are separate and defined
by the LatticeDef
s themselves, and several important LatticeDef::T
types are not totally ordered at all (namely all the set-like and map-like
ones).