Struct arrayfire::Indexer
[−]
[src]
pub struct Indexer { /* fields omitted */ }
Struct to manage an array of resources of type af_indexer_t
(ArrayFire C struct)
Methods
impl Indexer
[src]
fn new() -> Indexer
fn set_index<T: Indexable>(&mut self, idx: &T, dim: u32, is_batch: Option<bool>)
fn get(&self) -> i64
Get native(ArrayFire) resource handle
fn len(&self) -> u32
Get number of indexers
This can be a maximum of four since currently ArrayFire supports maximum of four dimensions