loaned

Crates.ioloaned
lib.rsloaned
version0.1.2
sourcesrc
created_at2024-04-19 16:16:38.74403
updated_at2024-06-03 14:45:25.687787
descriptionSafely move values with live inner borrows.
homepage
repositoryhttps://github.com/tjjfvi/loaned
max_upload_size
id1213880
size41,650
T6 (tjjfvi)

documentation

README

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.

Commit count: 33

cargo fmt