Enum ndarray::ErrorKind [] [src]

pub enum ErrorKind {
    IncompatibleShape,
    IncompatibleLayout,
    RangeLimited,
    OutOfBounds,
    Unsupported,
    // some variants omitted
}

Error code for an error related to array shape or layout.

This enumeration is not exhaustive. The representation of the enum is not guaranteed.

Variants

incompatible shape

incompatible memory layout

the shape does not fit inside type limits

out of bounds indexing

aliasing array elements

Trait Implementations

impl Copy for ErrorKind
[src]

impl Clone for ErrorKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ErrorKind
[src]

Formats the value using the given formatter.

impl PartialEq for ErrorKind
[src]

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

This method tests for !=.