pub fn new_boxed_option_slice(size: usize) -> Box<[Option]> { let mut vector = Vec::with_capacity(size); for _ in 0 .. size { vector.push(None) } vector.into_boxed_slice() }