Enum ndarray::StrideError [] [src]

pub enum StrideError {
    OutOfBounds,
    Unsupported,
}

An error to describe invalid stride states

Variants

OutOfBounds

stride leads to out of bounds indexing

Unsupported

stride leads to aliasing array elements

Trait Implementations

impl PartialEq for StrideError
[src]

fn eq(&self, __arg_0: &StrideError) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for StrideError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for StrideError
[src]

fn clone(&self) -> StrideError

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 Error for StrideError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more

impl Display for StrideError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.