commit | ddb1a0d2de08fca28b4dad015f660060927ec18d | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Oct 28 17:30:00 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Oct 28 17:30:00 2021 +0000 |
tree | c8c691f26710dd46d34ae922b3faa87e6188a366 | |
parent | 6b604226b230ccbb7a9a73be7722c9e352ff5495 [diff] | |
parent | 99a1f7ff1ecf92d1d5133e32410ae9a043e97db7 [diff] |
Snap for 7862349 from 99a1f7ff1ecf92d1d5133e32410ae9a043e97db7 to t-keystone-qcom-release Change-Id: Ice658a9ff8fde7d02f7ceece0b90f1c11b3ceb8f
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.