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 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 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)>
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 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§impl PartialOrd for ScalarConversionError
impl PartialOrd for ScalarConversionError
impl 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