Replace the BitField struct with a trait
Replace the BitField struct with a trait

The new BitField trait is implemented for all unsigned integer types. So we can directly to e.g. 42u16.get_bit(15).

phil-opp/rust-bit-field