fn reg_from(specials: Vec<(usize, u32)>) -> Box<[u32]> {
        let mut registers: Vec<u32> = vec![0; 17];
        for (ind, val) in &specials {
            registers[*ind] = *val;
        }
        registers.into_boxed_slice()
    }
/// Returns a heap-allocated [u32; 17] with all values equal to 0,
/// except the special ones at `usize` index with `u32` value
Returns a heap-allocated [u32; 17] with all values equal to 0,
except the special ones at `usize` index with `u32` value
Returns a heap - allocated [ u32 ; 17 ] with all values equal to 0 except the special ones at ` usize ` index with ` u32 ` value
fn reg_from(specials: Vec<(usize, u32)>) -> Box<[u32]> {
        let mut registers: Vec<u32> = vec![0; 17];
        for (ind, val) in &specials {
            registers[*ind] = *val;
        }
        registers.into_boxed_slice()
    }
fn reg_from ( specials : Vec < ( usize , u32 ) > ) -> Box < [ u32 ] > { let mut registers : Vec < u32 > = vec ! [ 0 17 ] ; for ( ind , val ) in & specials { registers [ * ind ] = * val ; } registers . into_boxed_slice ( ) }
Returns a heap-allocated [u32; 17] with all values equal to 0,
except the special ones at `usize` index with `u32` value
Returns a heap - allocated [ u32 ; 17 ] with all values equal to 0 except the special ones at ` usize ` index with ` u32 ` value
specials
Vec<(usize, u32)>