[go: up one dir, main page]

re_span 0.25.1-rc.1

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

re_span

Part of the rerun family of crates.

Latest version Documentation MIT Apache

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.