recasting 0.2.1

traits for one-to-one recasting of values in data structures
Documentation
  • Coverage
  • 83.33%
    5 out of 6 items documented2 out of 4 items with examples
  • Size
  • Source code size: 28.36 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.82 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • AaronKutch/recasting
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • AaronKutch

Recasting

This crate supplies the Recast and Recaster traits. These are currently intended for the translation of arena indexes like those in the triple_arena crate, however they can be used for any purpose of one-to-one recasting of values.

Currently, the traits need to be manually implemented, but there should be a macro in a future version that will automate implementation.

This crate has "std" and "alloc" features that can be turned off