Struct ndarray::ShapeError
source · pub struct ShapeError { /* private fields */ }
Expand description
An error related to array shape or layout.
Implementations§
Trait Implementations§
source§impl Clone for ShapeError
impl Clone for ShapeError
source§fn clone(&self) -> ShapeError
fn clone(&self) -> ShapeError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ShapeError
impl Debug for ShapeError
source§impl Display for ShapeError
impl Display for ShapeError
source§impl Error for ShapeError
impl Error for ShapeError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for ShapeError
impl PartialEq for ShapeError
Auto Trait Implementations§
impl Freeze for ShapeError
impl RefUnwindSafe for ShapeError
impl Send for ShapeError
impl Sync for ShapeError
impl Unpin for ShapeError
impl UnwindSafe for ShapeError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more