Expand description
Implementations of Token
used with TokenRefCell
.
The recommended token implementation is BoxToken
.
Structs§
- Allocated
Token - Dummy struct which can be used with smart-pointer-based token implementations.
- BoxToken
- A wrapper for
Box<AllocatedToken>
. - Dynamic
Token - Dynamic token, equivalent to an
usize
in memory. - Lifetime
Token - Lifetime-based token implementation.
- Local
Type Token - Zero-sized thread-local token implementation which use a type as unicity marker.
- PtrId
- Wrapper for pointer used as
Token::Id
. - RefToken
- Abstraction of a reference as a token.
- Type
Token - Zero-sized token implementation which use a type as unicity marker.
Traits§
- Token
- Token type to be used with
TokenRefCell
.