final 0.1.1

Wrap a value in a type that does not give out mutable references.
Documentation
  • Coverage
  • 66.67%
    2 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 1.93 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 729.9 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • jswrenn/final
    1 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • jswrenn

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.