Expand description
a type token that can be used to uniquly tag an instance of a type.
these are singleton types, only a single instance of a given token type may exist. to make checking this at compile time possible, tokens cannot be returned from functions.
Macros§
- token
- The heart of crate, generates a token singleton.
Traits§
- Token
- marker trait that a type is a type token.