Skip to main content

Module query_iter

Module query_iter 

Source
Expand description

Lazy spatial-query iteration โ€” the walk behind Rtree::query_iter.

The pruning walk of visitors/spatial_query.hpp, unrolled from recursion onto an explicit node stack so it can pause between yields: a consumer that stops early performs no traversal past the value it stopped at. Rtree::query collects this iterator, so the crate has exactly one query walk.

Structsยง

QueryIter
A lazy iterator over the values whose bounds satisfy a Predicate, in depth-first tree order.