pub enum MatrixError {
InvalidN(u8),
LengthMismatch {
n: u8,
len: usize,
},
}Variants§
Trait Implementations§
Source§impl Clone for MatrixError
impl Clone for MatrixError
Source§fn clone(&self) -> MatrixError
fn clone(&self) -> MatrixError
Returns a duplicate 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 MatrixError
impl Debug for MatrixError
Source§impl Display for MatrixError
impl Display for MatrixError
Source§impl Error for MatrixError
impl Error for MatrixError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 From<BuildError> for MatrixError
impl From<BuildError> for MatrixError
Source§fn from(err: BuildError) -> Self
fn from(err: BuildError) -> Self
Converts to this type from the input type.
Source§impl From<MatrixError> for BuildError
impl From<MatrixError> for BuildError
Source§fn from(err: MatrixError) -> Self
fn from(err: MatrixError) -> Self
Converts to this type from the input type.
Source§impl From<MatrixError> for TightBeamError
impl From<MatrixError> for TightBeamError
Source§fn from(err: MatrixError) -> Self
fn from(err: MatrixError) -> Self
Converts to this type from the input type.
Source§impl From<TightBeamError> for MatrixError
impl From<TightBeamError> for MatrixError
Source§fn from(err: TightBeamError) -> Self
fn from(err: TightBeamError) -> Self
Converts to this type from the input type.
Source§impl Hash for MatrixError
impl Hash for MatrixError
Source§impl Ord for MatrixError
impl Ord for MatrixError
Source§fn cmp(&self, other: &MatrixError) -> Ordering
fn cmp(&self, other: &MatrixError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MatrixError
impl PartialEq for MatrixError
Source§impl PartialOrd for MatrixError
impl PartialOrd for MatrixError
impl Eq for MatrixError
impl StructuralPartialEq for MatrixError
Auto Trait Implementations§
impl Freeze for MatrixError
impl RefUnwindSafe for MatrixError
impl Send for MatrixError
impl Sync for MatrixError
impl Unpin for MatrixError
impl UnsafeUnpin for MatrixError
impl UnwindSafe for MatrixError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more