Expand description

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

Modules

Type-level enum

Macros

Safely implement CType for a #[repr(C)] struct when all its fields are CType.
Transitioning helper macro: still uses the old ReprC! syntax, but just to forward to the new #[derive_ReprC2($(js)?)] one.

Structs

Traits

Safety (non-exhaustive list at the moment):
Alias for ReprC where Self::CLayout::OPAQUE_KIND = OpaqueKind::Concrete
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

Type Definitions

Attribute Macros