Type Definition mentat::Entid [] [src]

type Entid = i64;

Represents one entid in the entid space.

Per https://www.sqlite.org/datatype3.html (see also http://stackoverflow.com/a/8499544), SQLite stores signed integers up to 64 bits in size. Since u32 is not appropriate for our use case, we use i64 rather than manually truncating u64 to u63 and casting to i64 throughout the codebase.