[−][src]Trait mju_bits::storage::BitFieldAccess
Bitfield access functionality
Note: this trait is sealed against implementation outside this crate. This restriction will be lifted once the API has stabilized.
Required methods
fn get_bitfield(&self, mask: Self, shift: u32) -> Self
Returns a copy of self
masked by mask
and shifted right by shift
fn set_bitfield(&mut self, mask: Self, shift: u32, value: Self)
Shifts value left by shift
and replaces bits in self
using mask
.