Crates.io | bitfield-layout |
lib.rs | bitfield-layout |
version | 0.4.0 |
source | src |
created_at | 2021-05-21 11:58:07.222471 |
updated_at | 2021-08-06 09:43:02.089509 |
description | Yet another bitfield handling implementation |
homepage | |
repository | https://github.com/pepyaka/bitfield-layout |
max_upload_size | |
id | 400302 |
size | 65,207 |
This crate is yet another bitfield handling implementation.
The main goal of this crate - provide binding various data to every bit (flag) within bitfield layout. In many cases bitfield data are read only and every bit (flag) has some meaning. Then you getting bitfield data it's useful to get meaning or/and description of setted flags.
This crate provides basic trait BitFieldLayout that provides convenient methods for getting flags and it meaning of user defined structures or enums. Also there is module layouts with accessory structs and macros.
Documentation with examples for the various matching functions and iterators can be found on the https://docs.rs/bitfield-layout
This crate's minimum supported rustc
version is 1.51
.