Struct arrayfire::Seq
[−]
[src]
#[repr(C)]pub struct Seq<T> { /* fields omitted */ }
Sequences are used for indexing Arrays
Methods
impl<T: Copy> Seq<T>[src]
fn new(begin: T, end: T, step: T) -> Self
Create a Seq that goes from begin to end at a step size of step
fn begin(&self) -> T
Get begin index of Seq
fn end(&self) -> T
Get begin index of Seq
fn step(&self) -> T
Get step size of Seq
Trait Implementations
impl<T: Copy> Copy for Seq<T>[src]
impl<T: Clone> Clone for Seq<T>[src]
fn clone(&self) -> Seq<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<T: One + Zero> Default for Seq<T>[src]
Default Seq spans all the elements along a dimension
impl<T: Display> Display for Seq<T>[src]
Enables use of Seq with {} format in print statements