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

pub fn from_fn(len: uint, f: |uint| -> bool) -> Bitv

Create a Bitv of the specified length where the value at each index is f(index).