Using the bitvec crate, say I have two BitSlices:
let num1: &BitSlice = 10.view_bits::<Lsb0>();
let num2: &BitSlice = 9.view_bits::<Lsb0>();
Is there a way to run bit arithmetic operations such as num1 - num2 with these?
I have the limitation of working in a no-std environment and the bitslices can be rather big so I cannot convert them to numbers, do the operation and convert back to bit representation.