Skip to main content

get_array

Function get_array 

Source
pub fn get_array<T>(size: u8) -> Vec<T>
where T: FromStr,
Expand description

A function to get a numerical array of a certain size from the user input.

use ezin::get_array;

let vals: Vec<u32> = get_array(size);