Module inhabited

Source
Expand description

Helper module to compute whether a combination of types implementing crate::TypeLayout are inhabited or uninhabited.

Macros§

all
Helper macro to compute whether all of a list of types, all implementing crate::TypeLayout, e.g. [T, U, V], are inhabited.
any
Helper macro to compute whether any of a list of types, all implementing crate::TypeLayout, e.g. [T, U, V], is inhabited.

Structs§

Inhabited
Marker type used to specify that a type implementing crate::TypeLayout::Inhabited is inhabited.

Enums§

Uninhabited
Marker type used to specify that a type implementing crate::TypeLayout::Inhabited is uninhabited.