Crates.io | indexing-str |
lib.rs | indexing-str |
version | 0.1.0 |
source | src |
created_at | 2019-05-15 03:31:04.637761 |
updated_at | 2019-05-15 03:31:04.637761 |
description | Sound unchecked indexing using “generativity”; a fork of bluss/indexing |
homepage | |
repository | https://github.com/CAD97/indexing |
max_upload_size | |
id | 134419 |
size | 63,822 |
"Sound unchecked indexing" in Rust using "generativity" (branding by unique lifetime parameter).
This is a partial fork of https://github.com/bluss/indexing, with most of the code directly inspired from such.
This fork is immutable only, doesn't offer pointer indices/ranges, and doesn't allow manipulating the indices/ranges without a reference to the container. In exchange for these limitations, it works for fully sound fully unchecked indexing of Rust's UTF-8 string types.