Struct building_blocks_storage::chunk::indexer::ChunkIndexer [−][src]
pub struct ChunkIndexer<N> { /* fields omitted */ }
Expand description
Uses a bitmask to calculate the minimum of the chunk that contains a given point.
We use chunk minimums as keys for chunk storage.
Implementations
Determines whether min
is a valid chunk minimum. This means it must be a multiple of the chunk shape.
The constant shape of a chunk. The same for all chunks.
The mask used for calculating the minimum of a chunk that contains a given point.
Returns the minimum of the chunk that contains point
.
Returns an iterator over all chunk minimums for chunks that overlap the given extent.
The extent spanned by the chunk at min
.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<N> RefUnwindSafe for ChunkIndexer<N> where
N: RefUnwindSafe,
impl<N> Send for ChunkIndexer<N> where
N: Send,
impl<N> Sync for ChunkIndexer<N> where
N: Sync,
impl<N> Unpin for ChunkIndexer<N> where
N: Unpin,
impl<N> UnwindSafe for ChunkIndexer<N> where
N: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more