final

Crates.iofinal
lib.rsfinal
version0.1.1
sourcesrc
created_at2017-03-12 16:33:05.211465
updated_at2022-02-28 16:22:09.799449
descriptionWrap a value in a type that does not give out mutable references.
homepage
repositoryhttps://github.com/jswrenn/final
max_upload_size
id8943
size2,250
Jack Wrenn (jswrenn)

documentation

README

This no-std crate provides the Final, struct which guarantees the interior immutability of the value that it wraps. This is useful for preserving invariants on the fields of structures, whose 'safe' mutation would cause undefined behavior.

Commit count: 6

cargo fmt