Available on crate feature transparent_newtype only.
Expand description

Traits for newtype wrappers.

Traits

Trait for #[repr(transparent)] newtypes, which are safe to transmute to/from their contents.

Functions

Converts a Vec of some type into a Vec of a wrapper around that type.

Converts a Vec of T into a Vec of the type that T wraps.