TypeID
A nominal wrapper around Any.Type
that conforms to useful protocols.
Note that the Comparable
conformance will not have a stable ordering across program
invocations. If reproducible ordering is important, you can sacrifice performance for stability
by using String(reflecting: self.value)
as a sort key.
-
Creates an instance identifying
t
-
The type identified by
self
. -
Returns true iff
a
andb
represent the same type. -
Returns true iff
a
is ordered beforeb
in a total ordering over all types. -
Accumulates the value of
self
intoh
. -
A description of the value
self
. -
An elaborated description of the value
self
.