[][src]Module safer_ffi::layout

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

Modules

OpaqueKind

Macros

CType

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

ReprC

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

Traits

CType

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

ReprC

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

Functions

__assert_concrete__
from_raw
from_raw_unchecked
into_raw