RefCell<T>
gives reference-counted access to a T
, dynamically maintaining aliasing xor mutability. This library provides
an equivalent type SubSlice<'a,T>
, for reference-counted access to subsets of a slice &'a [T]
.
This type tracks how many outstanding references exists per index, and ensures at runtime that there are either multiple shared references
-
Notifications
You must be signed in to change notification settings - Fork 0
alpha-convert/SubSlice
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A little Rust library for giving per-index refcounted access to a slice through a shared reference.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published