Struct ndarray::ShapeError
[−]
[src]
pub struct ShapeError { /* fields omitted */ }An error related to array shape or layout.
Methods
impl ShapeError[src]
fn kind(&self) -> ErrorKind
Return the ErrorKind of this error.
fn from_kind(error: ErrorKind) -> Self
Create a new ShapeError
Trait Implementations
impl Clone for ShapeError[src]
fn clone(&self) -> ShapeError
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 PartialEq for ShapeError[src]
fn eq(&self, rhs: &Self) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Error for ShapeError[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