[][src]Function grid_trait::grid2::alloc

pub fn alloc<I, T>(x_len: i32, y_len: i32, startval: T) -> ArrayGrid2<T> where
    T: Clone

Allocate a grid on the heap.