[−][src]Trait tlid::IdAble
trait that is used to describe all types that can be used as an ID types like usize, u64, i64, ... are supported by default
- Ord: is needed for keeping a BTreeMap over free ranges
- Copy: as IDs should be small enough to be copied everywhere
- Add/Sub/AddAssign: for logic to increase and check generated IDs
- Default: to count the number of ID's in a pool
- Debug: to be used in Error Types and printed
- From
to convert 1 into the respective ID type