Function std::collections::bitv::from_bools[src]

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

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