[−][src]Trait pui_core::Token
A type that an Identifier
produces and is owned by an Identifier
If two tokens compare equal, then they should behave identically under
Identifier::owns_token
operation.
Safety
- it should be not possible to change the behavior of
PartialEq::eq
orIdentifier::owns_token
via a shared reference to aToken
- clones/copies of a token should be equal to each other