Expand description

Markers for generic configuration types.

dungeon_cell uses generic types for configuration. Each of these configuration options only has a single type that is actually accepted. The traits in this module mark those types. All of the following traits are sealed and cannot be implemented by external types. When a dungeon_cell type needs a generic with a bound of one of the following traits use the associated implementor type.

Traits

Marker only implemented for [MaybeUninit<u8>; N].
Marker only implemented for Alignment.
Marker only implemented for IsSend.
Marker only implemented for Layout.
Marker only implemented for Size.

Type Definitions

Helper to extract Layout from a generic T: ValidLayout.