Crate new_type_derive[][src]

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

NewTypeRef

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.