Struct easy_ml::matrices::ScalarConversionError
source · pub struct ScalarConversionError;
Expand description
An error indicating failure to convert a matrix to a scalar because it is not a unit matrix.
Trait Implementations§
source§impl Clone for ScalarConversionError
impl Clone for ScalarConversionError
source§fn clone(&self) -> ScalarConversionError
fn clone(&self) -> ScalarConversionError
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 ScalarConversionError
impl Debug for ScalarConversionError
source§impl Display for ScalarConversionError
impl Display for ScalarConversionError
source§impl Error for ScalarConversionError
impl Error for ScalarConversionError
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 Hash for ScalarConversionError
impl Hash for ScalarConversionError
source§impl Ord for ScalarConversionError
impl Ord for ScalarConversionError
source§fn cmp(&self, other: &ScalarConversionError) -> Ordering
fn cmp(&self, other: &ScalarConversionError) -> 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 ScalarConversionError
impl PartialEq for ScalarConversionError
source§fn eq(&self, other: &ScalarConversionError) -> bool
fn eq(&self, other: &ScalarConversionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ScalarConversionError
impl PartialOrd for ScalarConversionError
source§fn partial_cmp(&self, other: &ScalarConversionError) -> Option<Ordering>
fn partial_cmp(&self, other: &ScalarConversionError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ScalarConversionError
impl StructuralPartialEq for ScalarConversionError
Auto Trait Implementations§
impl Freeze for ScalarConversionError
impl RefUnwindSafe for ScalarConversionError
impl Send for ScalarConversionError
impl Sync for ScalarConversionError
impl Unpin for ScalarConversionError
impl UnwindSafe for ScalarConversionError
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