[][src]Module pui_core::ty

A Type based Identifier

This works by making it unsafe to create a Type. Then by providing macro that safely creates a new type and a Type identifier at the same time. Guaranteeing that there is no duplication.

You can also create a new Type, but then the burden is on you to ensure uniqueness.

Structs

Type

A type based Identifier

TypeToken

The Trivial Token generated by Type