#[derive(Debug, PartialEq)]/// rusty-matrix specific Error enum.
pubenumError{/// NotEq: Two Matrices were expected to be equal in one way or another.
NotEq,/// OutOfRange: Returned when attempting to index the Matrix with an
/// out-of-range x and y coordinates.
OutOfRange,/// IncorrectLength: Returned when passing a Vec<T> as the data to construct
/// a Matrix which is too long or short for the specified Matrix type.
IncorrectLength,}/// rusty-matrix built-in Result type for use with the rusty-matrix Matrix
/// functions.
pubtypeResult<T>=std::result::Result<T, Error>;