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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ErrorKind
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for ErrorKind
[src]

[src]

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

1.0.0
[src]

This method tests for !=.