pub struct MockSparseMatrix<T> { /* private fields */ }
Implementations§
Source§impl<T> MockSparseMatrix<T>
impl<T> MockSparseMatrix<T>
Source§impl<T> MockSparseMatrix<T>
impl<T> MockSparseMatrix<T>
pub fn to_dense(&self) -> Result<MockDenseMatrix<T>, ()>
Trait Implementations§
Source§impl<T: Clone> Clone for MockSparseMatrix<T>
impl<T: Clone> Clone for MockSparseMatrix<T>
Source§fn clone(&self) -> MockSparseMatrix<T>
fn clone(&self) -> MockSparseMatrix<T>
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<T: Debug> Debug for MockSparseMatrix<T>
impl<T: Debug> Debug for MockSparseMatrix<T>
Source§impl<T: Clone> Matrix<T> for MockSparseMatrix<T>
impl<T: Clone> Matrix<T> for MockSparseMatrix<T>
Source§impl<T: Clone> SparseAccess<T> for MockSparseMatrix<T>
impl<T: Clone> SparseAccess<T> for MockSparseMatrix<T>
Auto Trait Implementations§
impl<T> Freeze for MockSparseMatrix<T>
impl<T> RefUnwindSafe for MockSparseMatrix<T>where
T: RefUnwindSafe,
impl<T> Send for MockSparseMatrix<T>where
T: Send,
impl<T> Sync for MockSparseMatrix<T>where
T: Sync,
impl<T> Unpin for MockSparseMatrix<T>where
T: Unpin,
impl<T> UnwindSafe for MockSparseMatrix<T>where
T: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)