[][src]Trait repr_trait::C

pub unsafe trait C { }

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

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...