convute

Crates.ioconvute
lib.rsconvute
version0.2.0
sourcesrc
created_at2019-03-12 10:40:07.867545
updated_at2019-03-12 14:10:05.439934
descriptionConversion between types with overlapping valid bit patterns and arrays, vecs and slices of those values.
homepage
repositoryhttps://gitlab.com/mickvangelderen/convute-rust
max_upload_size
id120269
size30,383
Mick van Gelderen (mickvangelderen)

documentation

README

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.

Commit count: 20

cargo fmt