Trait NdArray

Source
pub trait NdArray<T> {
    // Required methods
    fn shape(&self) -> Shape;
    fn slice(&self) -> Vec<Vec<&Button<T>>>;
}

Required Methods§

Source

fn shape(&self) -> Shape

Source

fn slice(&self) -> Vec<Vec<&Button<T>>>

Implementations on Foreign Types§

Source§

impl<T: Serialize, const N: usize, const M: usize> NdArray<T> for &[[Button<T>; N]; M]

Source§

fn shape(&self) -> Shape

Source§

fn slice(&self) -> Vec<Vec<&Button<T>>>

Implementors§