Expand description

Trait abstractions describing the semantics of “being #[repr(C)]

Modules

Macros

Safely implement CType for a #[repr(C)] struct when all its fields are CType.

Safely implement ReprC for a #[repr(C)] struct when all its fields are ReprC.

Traits

One of the two core traits of this crate (with ReprC).

The meat of the crate. The trait. This trait describes that a type has a defined / fixed #[repr(C)] layout.

Functions

Attribute Macros

derive_ReprCproc_macros

Safely implement ReprC for a #[repr(C)] struct when all its fields are ReprC.