[−][src]Trait repr_trait::Transparent
Trait for types declared with #[repr(transparent)]
.
Safety
This trait should only be implemented for types with the correct repr
. Because repr
s
cannot be checked by the compiler, this trait is unsafe
.
Use the corresponding derive macro to safely derive this on any type with the correct
repr
.