Crate const_identify

Source

Macros§

impl_cmp
ordered_ids
unique_ids

Structs§

ConstId
A unique identifier that can be created used in const contexts.
OrderedIdArray
An array of ConstId structs that is guaranteed to be in sorted order.
OrderedIdSlice
An unsized slice of ConstId structs that is guaranteed to be in sorted order.
UniqueIdArray
An array of ConstId structs that are guaranteed to be unique and in sorted order.
UniqueIdSlice
An unsized slice of ConstId structs that are guaranteed to be unique and in sorted order.

Traits§

ConstIdentify
This trait is used as to mark structs with an id available in const contexts.

Derive Macros§

ConstIdentify