| Crates.io | re_span |
| lib.rs | re_span |
| version | 0.25.1 |
| created_at | 2025-07-01 09:58:22.235429+00 |
| updated_at | 2025-09-19 08:55:09.216173+00 |
| description | An integer range that always has a non-negative length |
| homepage | https://rerun.io |
| repository | https://github.com/rerun-io/rerun |
| max_upload_size | |
| id | 1733009 |
| size | 10,576 |
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.