Function extra::bitv::from_bools

pub fn from_bools(bools: &[bool]) -> Bitv

Transform a [bool] into a bitv by converting each bool into a bit.