Struct ndarray::ShapeError [−][src]
pub struct ShapeError { /* fields omitted */ }
An error related to array shape or layout.
Methods
impl ShapeError
[src]
impl ShapeError
pub fn kind(&self) -> ErrorKind
[src]
pub fn kind(&self) -> ErrorKind
Return the ErrorKind
of this error.
pub fn from_kind(error: ErrorKind) -> Self
[src]
pub fn from_kind(error: ErrorKind) -> Self
Create a new ShapeError
Trait Implementations
impl Clone for ShapeError
[src]
impl Clone for ShapeError
fn clone(&self) -> ShapeError
[src]
fn clone(&self) -> ShapeError
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 PartialEq for ShapeError
[src]
impl PartialEq for ShapeError
fn eq(&self, rhs: &Self) -> bool
[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) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Error for ShapeError
[src]
impl Error for ShapeError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for ShapeError
[src]
impl Display for ShapeError
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 Debug for ShapeError
[src]
impl Debug for ShapeError
Auto Trait Implementations
impl Send for ShapeError
impl Send for ShapeError
impl Sync for ShapeError
impl Sync for ShapeError