[][src]Struct ndarray::ShapeError

pub struct ShapeError { /* fields omitted */ }

An error related to array shape or layout.


impl ShapeError[src]

pub fn kind(&self) -> ErrorKind[src]

Return the ErrorKind of this error.

pub fn from_kind(error: ErrorKind) -> Self[src]

Create a new ShapeError

Trait Implementations

impl Clone for ShapeError[src]

impl PartialEq<ShapeError> for ShapeError[src]

impl Debug for ShapeError[src]

impl Display for ShapeError[src]

impl Error for ShapeError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized