Trait mononym::named::Name[][src]

pub trait Name: Send + Sync + Sealed { }
Expand description

A marker trait that is used to represent unique type in Rust. mononym guarantees that any two impl Name generated by the library are always considered distinct types by Rust.

This is mainly used as a type parameter inside types such as Seed. For example, the type Seed<impl Name> is used to represent a unique seed type with a fresh type impl Name being its name.

Implementors