gapbuf-rs
Generic gap buffer implementation in Rust.
This crate provides the type GapBuffer
.
This type has methods similar to Vec
.
Examples
use gap_buffer;
let mut b = gap_buffer!;
b.insert;
assert_eq!;
b.remove;
assert_eq!;
License
This project is dual licensed under Apache-2.0/MIT. See the two LICENSE-* files for details.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.