Trait safe_vk::util::ndarray::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§