Trait ndarray::Data [] [src]

pub unsafe trait Data {
    type Elem;
    fn slice(&self) -> &[Self::Elem];
}

Array’s inner representation.

Note: Data is not an extension interface at this point. Traits in Rust can serve many different roles. This trait is public because it is used as a bound on public methods.

Associated Types

type Elem

Required Methods

fn slice(&self) -> &[Self::Elem]

Implementors