commit | 93aeecbe27c7b842462fc08cf89d768efecbd45c | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Thu Apr 08 22:05:09 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Apr 08 22:05:09 2021 +0000 |
tree | 0e273e52ab877b277ceb9bee0ad25b6004dff990 | |
parent | 92875c41df7041faace331c21e12e28b44f1d663 [diff] | |
parent | 1250396e78683b382cac6ae23db1db2f782c0ecf [diff] |
Snap for 7269134 from 1250396e78683b382cac6ae23db1db2f782c0ecf to sc-mainline-release Change-Id: I51a1445540613d034a8573a3e3a18e3a38503431
A Rust library for creating intrusive collections. Currently supports singly-linked and doubly-linked lists, as well as red-black trees.
#[no_std]
.Cursor
-based interface, which allows safe mutation while iterating.For examples and more information, see the documentation (crates.io, master).
Add this to your Cargo.toml
:
[dependencies] intrusive-collections = "0.9"
This crate has two Cargo features:
nightly
: Enables nightly-only features: const fn
constructors for collections (Link
constructors are always const fn
)alloc
(enabled by default): Implements IntrusivePointer
for Box
, Rc
and Arc
.Licensed under either of
at your option.
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.