Skip to main content

IndexableTarget

Trait IndexableTarget 

Source
pub trait IndexableTarget: Clone {
    // Required method
    fn select(&self, indices: &[usize]) -> Self;
}
Expand description

Trait for target arrays that can be indexed

Required Methods§

Source

fn select(&self, indices: &[usize]) -> Self

Get elements at the specified indices

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IndexableTarget for ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>, f64>

Source§

fn select(&self, indices: &[usize]) -> Self

Source§

impl IndexableTarget for ArrayBase<OwnedRepr<i32>, Dim<[usize; 1]>, i32>

Source§

fn select(&self, indices: &[usize]) -> Self

Source§

impl IndexableTarget for ArrayBase<OwnedRepr<usize>, Dim<[usize; 1]>, usize>

Source§

fn select(&self, indices: &[usize]) -> Self

Implementors§