[−][src]Trait lrl_test_compiler::bits::BitSource
A BitSource is something that can have bits read from it
Associated Constants
Loading content...Required methods
fn slice(&self, offset: u8, len: u8) -> u8
Selects the range of bits described by [offset .. offset+len] Returns these bits right-aligned in a u8
Provided methods
fn slice_left(&self, offset: u8, len: u8, margin: u8) -> u8
Selects the range of bits described by [offset .. offset+len] Returns these bits left-aligned in a u8, preceded by the amount of margin