Holzhaus / rekordcrate

Library for parsing Pioneer Rekordbox device exports
https://holzhaus.github.io/rekordcrate/
Mozilla Public License 2.0
80 stars 12 forks source link

Improve `pdb::PageFlags` struct #95

Open Holzhaus opened 2 years ago

Holzhaus commented 2 years ago

We already have a dependency on the modular_bitfield crate, might make sense to use that instead:

#[bitfield]
pub struct PageFlags {
    unknown1: B1,
    no_data: bool,
    unknown2: B6,
}

_Originally posted by @Holzhaus in https://github.com/Holzhaus/rekordcrate/pull/93#discussion_r993200894_