3 releases
0.1.2 | Jun 3, 2024 |
---|---|
0.1.1 | Apr 24, 2024 |
0.1.0 | Apr 19, 2024 |
#604 in Data structures
325 downloads per month
Used in 3 crates
(via bend-lang)
26KB
547 lines
loaned
loaned
provides Loaned<'t, T>
and LoanedMut<'t, T>
types which allow
owning values that have live immutable/mutable borrows, allowing a limited (but
very expressive) subset of self-referential structures to be expressed.
Examples
See examples/
.
Safety
loaned
uses unsafe code, the soundness of which has not been rigorously
proven, although basic tests have been run successfully through Miri.