pub enum MatrixError<RowError, ColumnError> {
Column {
column: usize,
source: ColumnError,
},
Row {
row: usize,
column: usize,
source: RowError,
},
}Expand description
Error returned by ButtonMatrix::scan.
Variants§
Trait Implementations§
impl<RowError: Copy, ColumnError: Copy> Copy for MatrixError<RowError, ColumnError>
impl<RowError: Eq, ColumnError: Eq> Eq for MatrixError<RowError, ColumnError>
Source§impl<RowError: PartialEq, ColumnError: PartialEq> PartialEq for MatrixError<RowError, ColumnError>
impl<RowError: PartialEq, ColumnError: PartialEq> PartialEq for MatrixError<RowError, ColumnError>
impl<RowError: PartialEq, ColumnError: PartialEq> StructuralPartialEq for MatrixError<RowError, ColumnError>
Auto Trait Implementations§
impl<RowError, ColumnError> Forget for MatrixError<RowError, ColumnError>
impl<RowError, ColumnError> Freeze for MatrixError<RowError, ColumnError>
impl<RowError, ColumnError> Move for MatrixError<RowError, ColumnError>
impl<RowError, ColumnError> RefUnwindSafe for MatrixError<RowError, ColumnError>where
ColumnError: RefUnwindSafe,
RowError: RefUnwindSafe,
impl<RowError, ColumnError> Send for MatrixError<RowError, ColumnError>
impl<RowError, ColumnError> Sync for MatrixError<RowError, ColumnError>
impl<RowError, ColumnError> Unpin for MatrixError<RowError, ColumnError>
impl<RowError, ColumnError> UnsafeUnpin for MatrixError<RowError, ColumnError>where
ColumnError: UnsafeUnpin,
RowError: UnsafeUnpin,
impl<RowError, ColumnError> UnwindSafe for MatrixError<RowError, ColumnError>where
ColumnError: UnwindSafe,
RowError: UnwindSafe,
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