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
IncompatibleShape
incompatible shape
IncompatibleLayout
incompatible memory layout
RangeLimited
the shape does not fit inside type limits
OutOfBounds
out of bounds indexing
Unsupported
aliasing array elements
Trait Implementations
impl Copy for ErrorKind
[src]
impl Copy for ErrorKind
impl Clone for ErrorKind
[src]
impl Clone for ErrorKind
fn clone(&self) -> ErrorKind
[src]
fn clone(&self) -> ErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ErrorKind
[src]
impl Debug for ErrorKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ErrorKind
[src]
impl PartialEq for ErrorKind