pub enum DimsError {
SizeOverflow,
BufferTooSmall(usize),
}Expand description
Error during the construction of a matrix view.
Variants§
SizeOverflow
The size of the matrix does not fit in a usize.
BufferTooSmall(usize)
The buffer is too small. This variant contains the required buffer size.
Trait Implementations§
Source§impl From<DimsError> for DimsErrorMut
impl From<DimsError> for DimsErrorMut
impl Copy for DimsError
Auto Trait Implementations§
impl Freeze for DimsError
impl RefUnwindSafe for DimsError
impl Send for DimsError
impl Sync for DimsError
impl Unpin for DimsError
impl UnwindSafe for DimsError
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