MaybeVoid
  • Twitter
  • GitHub
  • Projects
  • Work
  • Blog

Mononym

Mononym is a library for creating unique type-level names for each value in Rust. The core type Named<Name, T> represents a named value of type T with a unique type Name as its name. Mononym guarantees that there can be no two values with the same name. With that, the Name type serves as a unique representation of a Rust value at the type level.

  • Project GitHub
  • Documentation
  • Crate

Blog Posts

  • Mononym: Type-Level Named Values in Rust - Part 1: Demo and Implementation
  • MaybeVoid
  • Home
  • Privacy