Module id

Source
Expand description

Code for handing IDs

Macrosยง

define_id_getter ๐Ÿ”’
Implement the HasID trait for the given type, assuming it has a field called id
define_id_methods ๐Ÿ”’
define_id_type ๐Ÿ”’

Traitsยง

HasID
Indicates that the struct has an ID field
IDCollection
A data structure containing a set of IDs
IDLike
A trait alias for ID types