Back to Rerun

re_span

crates/utils/re_span/README.md

0.31.4675 B
Original Source

re_span

Part of the rerun family of crates.

An integer range that always has a non-negative length.

The standard std::ops::Range can have start > end. Taking a Range by argument thus means the callee must check for this eventuality and return an error.

In contrast, Span always has a non-negative length, i.e. len >= 0.