pub trait BitSlice { // Required methods fn get_bit(&self, idx: usize) -> bool; fn bit_len(&self) -> usize; }