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

pub trait NpyIndex: IntoDimension {
    fn get_checked<T>(self, dims: &[usize], strides: &[isize]) -> Option<isize>;
fn get_unchecked<T>(self, strides: &[isize]) -> isize;
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

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

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

fn __private__(self) -> PrivateMarker

Loading content...

Implementors

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

Loading content...