convute 0.2.0

Conversion between types with overlapping valid bit patterns and arrays, vecs and slices of those values.
Documentation
  • Coverage
  • 39.47%
    15 out of 38 items documented1 out of 29 items with examples
  • Size
  • Source code size: 30.01 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.04 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • mickvangelderen/convute-rust
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mickvangelderen

crates.io docs.rs

Goal

Allow conversion between types that have overlapping valid values.

Method

We achieve this through the unsafe marker traits convute::marker::Transmute and convute::marker::TryTransmute which enable conversions between values, references, arrays, vecs and slices.