🗃️ rt_map
Runtime managed mutable borrowing from a map.
This library provides a map that allows mutable borrows to different entries at the same time. For a map implementation of this, see rt_vec.
The implementation is extracted and slightly modified from shred.
Usage
Add the following to Cargo.toml
= "0.6.0" # or
= { = "0.6.0", = ["unsafe_debug"] }
In code:
use RtMap;
;
Features
"unsafe_debug"
Enables the "unsafe_debug" feature of rt_ref.
See Also
anymap: Map of any type, without multiple mutable borrows.resman: Map of any type, with runtime managed borrowing.shred: Likeresman, plus a task dispatcher.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
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.