docs.rs failed to build qindex_multi-0.4.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
qindex_multi
API Documentation
This crate provides MultiIndexable
, through which its implementors allow us to violate basic borrowing-rules when indexing them (using Index[Mut]
) , as long as we adhere to them for each individual element.
In other words: We can index a collection mutably and immutable multiple times at once, as long as there are no read/write clashes.
NOTE: MultiIndexable
is currently not implemented for libstd's HashMap
and BTreeMap
, due to them missing IndexMut
-implementations. This will change when IndexAssign
-functionality lands.
This crate requires the latest rust nightly to compile.
TODO
- Doc, Tests, Examples
Example Usage
extern crate qcollect;
extern crate qindex_multi;
extern crate vec_map;
use VecMap;
use ;