recasting

Crates.iorecasting
lib.rsrecasting
version0.2.1
sourcesrc
created_at2023-08-20 03:55:43.955822
updated_at2023-08-29 07:44:27.060639
descriptiontraits for one-to-one recasting of values in data structures
homepage
repositoryhttps://github.com/AaronKutch/recasting
max_upload_size
id949131
size28,248
Aaron Kutch (AaronKutch)

documentation

https://docs.rs/recasting

README

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

Commit count: 13

cargo fmt