pub unsafe trait Singleton { }
Expand description
Marks a domain family that uniquely characterizes a domain instance.
See Global
and unique_domain
for examples of families that safely manage this.
Safety
Implementors of this trait must guarantee only one Domain of the implementing family can ever be constructed.