Expand description
This crate provides a means of easily creating a wrapper new type along with a corresponding reference type
Macros§
- new_
type_ pair - Creates a wrapper new type around a chosen owned type, along with a
matching reference type. The reference type must implement
NewTypeRef
.
Traits§
- NewType
Ref - A trait that provides necessary operations for creating a new type with reference type that can round-trip between the two types and the original wrapped value.