Crate zng_unique_id
source ·Expand description
Re-exports§
pub use zng_txt::Txt;
Macros§
- Implement debug and display for an unique ID type that also implements name.
- Extend an unique ID type to have an optional attached name string, also implements.
- Declare a new unique id type that is backed by a
NonZeroU32. - Declare a new unique id type that is backed by a
NonZeroU64.
Structs§
- Build
IdHasher. - No-op hasher.
- Map specialized for unique IDs that are already a randomized hash.
- Set specialized for unique IDs that are already a randomized hash.
Enums§
- Error when trying to associate give a name with an existing id.