[][src]Trait numpy::convert::NpyIndex

pub trait NpyIndex: IntoDimension {
    pub fn get_checked<T>(
        self,
        dims: &[usize],
        strides: &[isize]
    ) -> Option<isize>;
pub fn get_unchecked<T>(self, strides: &[isize]) -> isize;
pub fn __private__(self) -> PrivateMarker; }

Types that can be used to index an array.

See IntoDimension for what types you can use as NpyIndex.

But basically, you can use

Required methods

pub fn get_checked<T>(self, dims: &[usize], strides: &[isize]) -> Option<isize>[src]

pub fn get_unchecked<T>(self, strides: &[isize]) -> isize[src]

pub fn __private__(self) -> PrivateMarker[src]

Loading content...

Implementors

impl<D: IntoDimension> NpyIndex for D[src]

Loading content...