as_repr

Crates.ioas_repr
lib.rsas_repr
version1.3.0
created_at2025-10-27 06:44:23.656097+00
updated_at2026-01-03 23:21:37.606305+00
descriptionRust trait for constant `#[repr(T)]` conversions
homepagehttps://github.com/AldaronLau/as_repr/releases
repositoryhttps://github.com/AldaronLau/as_repr
max_upload_size
id1902351
size23,433
Jeryn Aldaron Lau (AldaronLau)

documentation

https://docs.rs/as_repr

README

As Repr

tests GitHub commit activity GitHub contributors
Crates.io Crates.io Crates.io (recent)
Crates.io Docs.rs

Rust trait for constant #[repr(T)] conversions

Check out the documentation for examples.

Features

  • Const trait workaround for stable Rust exposing a safe transmute to the repr type with a trait

MSRV

The current MSRV is Rust 1.85.

Any future MSRV updates will follow the Ardaku MSRV guidelines.

License

Copyright © 2025-2026 The As Repr Contributors.

Licensed under any of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as described above, without any additional terms or conditions.

Help

If you want help using or contributing to this library, feel free to send me an email at aldaronlau@gmail.com.

Commit count: 0

cargo fmt