3 releases

0.1.2 Jun 3, 2024
0.1.1 Apr 24, 2024
0.1.0 Apr 19, 2024

#837 in Data structures

Download history 74/week @ 2024-10-19 68/week @ 2024-10-26 83/week @ 2024-11-02 110/week @ 2024-11-09 64/week @ 2024-11-16 66/week @ 2024-11-23 78/week @ 2024-11-30 103/week @ 2024-12-07 54/week @ 2024-12-14 77/week @ 2024-12-21 134/week @ 2024-12-28 147/week @ 2025-01-04 68/week @ 2025-01-11 44/week @ 2025-01-18 34/week @ 2025-01-25 102/week @ 2025-02-01

259 downloads per month
Used in 3 crates (via bend-lang)

MIT/Apache

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.

No runtime deps

Features