[][src]Trait repr_trait::Transparent

pub unsafe trait Transparent { }

Trait for types declared with #[repr(transparent)].

Safety

This trait should only be implemented for types with the correct repr. Because reprs 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.

Implementors

Loading content...