[][src]Crate zdex

Zdex is for evaluating z-order indexes (morton encoding) for types, iterators, and tuples of BitCollections.

Z-order indexing is a database range-querying technique to optimise scanning performance, and Zdex aims to be prescriptive in providing that functionality.

Structs

BitU8

The BitCollection::Item-type prescribed by Zdex for use in Zdexed-compatible BitCollections. Custom BitCollections specified for use with Zdex must therefore specify #[bit(BitU8, ...].

FromU8

A built-in Zdex-compatible BitCollection for u8.

FromU16

A built-in Zdex-compatible BitCollection for u16.

FromU32

A built-in Zdex-compatible BitCollection for u32.

FromU64

A built-in Zdex-compatible BitCollection for u64.

FromU128

A built-in Zdex-compatible BitCollection for u128.

Traits

Zdexed

Trait for implementing z_index() for BitCollections. A blanket implementation is provided for BitCollection<Item=BitU8>.

ZdexedIter

A trait for implementing Zdexed over iterables. A blanket implementation is provided for IntoIter<T: Zdexed>.

ZdexedTup

A trait for implementing Zdexed over tuples. A blanket implementation is provided for homogeneous 2-, 3-, and 4- tuples.