Module mc_core::util[][src]

Structs

A generic cube.

This structure can be used to store a statically bound reference &'static T in a safe wrapper that also implements Send and Sync. These traits are implemented because the content cannot be recovered after the construction, and also because the pointer has a static lifetime.

Reciprocal iterator to UnpackAlignedIter.

A packed array is an array of cell (u64) with a fixed length and a varying bits length (byte size) that allows it to store multiple values in the same cell.

A palette is a vector with limited capacity that allows searching indices of elements.

A generic rectangle. Coordinates order: X then Z

An iterator to unpack aligned values in from an u64 iterator. This iterator only requires an byte size and will output every value found in each cell. What means “aligned” is that value cannot be defined on two different cells, if there is remaining space in cells, it is ignored.

A version struct tuple used to represent common versions from alpha.

Enums

Traits

An iterator extension trait for unpacking aligned values from an u64 iterator.

Functions