Struct sparse_bin_mat::error::IncompatibleDimensions
source · [−]pub struct IncompatibleDimensions<DL, DR> { /* private fields */ }
Expand description
An error to represent incompatible dimensions in matrix and vector operations.
Implementations
sourceimpl<DL, DR> IncompatibleDimensions<DL, DR>
impl<DL, DR> IncompatibleDimensions<DL, DR>
Trait Implementations
sourceimpl<DL: Clone, DR: Clone> Clone for IncompatibleDimensions<DL, DR>
impl<DL: Clone, DR: Clone> Clone for IncompatibleDimensions<DL, DR>
sourcefn clone(&self) -> IncompatibleDimensions<DL, DR>
fn clone(&self) -> IncompatibleDimensions<DL, DR>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<DL: Debug, DR: Debug> Debug for IncompatibleDimensions<DL, DR>
impl<DL: Debug, DR: Debug> Debug for IncompatibleDimensions<DL, DR>
sourceimpl Display for IncompatibleDimensions<usize, usize>
impl Display for IncompatibleDimensions<usize, usize>
sourceimpl Error for IncompatibleDimensions<usize, usize>
impl Error for IncompatibleDimensions<usize, usize>
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl Error for IncompatibleDimensions<(usize, usize), usize>
impl Error for IncompatibleDimensions<(usize, usize), usize>
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl Error for IncompatibleDimensions<usize, (usize, usize)>
impl Error for IncompatibleDimensions<usize, (usize, usize)>
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl Error for IncompatibleDimensions<(usize, usize), (usize, usize)>
impl Error for IncompatibleDimensions<(usize, usize), (usize, usize)>
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<DL: Hash, DR: Hash> Hash for IncompatibleDimensions<DL, DR>
impl<DL: Hash, DR: Hash> Hash for IncompatibleDimensions<DL, DR>
sourceimpl<DL: PartialEq, DR: PartialEq> PartialEq<IncompatibleDimensions<DL, DR>> for IncompatibleDimensions<DL, DR>
impl<DL: PartialEq, DR: PartialEq> PartialEq<IncompatibleDimensions<DL, DR>> for IncompatibleDimensions<DL, DR>
sourcefn eq(&self, other: &IncompatibleDimensions<DL, DR>) -> bool
fn eq(&self, other: &IncompatibleDimensions<DL, DR>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &IncompatibleDimensions<DL, DR>) -> bool
fn ne(&self, other: &IncompatibleDimensions<DL, DR>) -> bool
This method tests for !=
.
impl<DL: Copy, DR: Copy> Copy for IncompatibleDimensions<DL, DR>
impl<DL: Eq, DR: Eq> Eq for IncompatibleDimensions<DL, DR>
impl<DL, DR> StructuralEq for IncompatibleDimensions<DL, DR>
impl<DL, DR> StructuralPartialEq for IncompatibleDimensions<DL, DR>
Auto Trait Implementations
impl<DL, DR> RefUnwindSafe for IncompatibleDimensions<DL, DR> where
DL: RefUnwindSafe,
DR: RefUnwindSafe,
impl<DL, DR> Send for IncompatibleDimensions<DL, DR> where
DL: Send,
DR: Send,
impl<DL, DR> Sync for IncompatibleDimensions<DL, DR> where
DL: Sync,
DR: Sync,
impl<DL, DR> Unpin for IncompatibleDimensions<DL, DR> where
DL: Unpin,
DR: Unpin,
impl<DL, DR> UnwindSafe for IncompatibleDimensions<DL, DR> where
DL: UnwindSafe,
DR: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more