mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-21 03:49:59 +00:00
Compare commits
4 Commits
a61ff8a4e1
...
d9bdf8ee96
Author | SHA1 | Date | |
---|---|---|---|
d9bdf8ee96 | |||
e7d4e2221c | |||
c7e39e6f99 | |||
![]() |
bc5cc65897 |
@ -76,7 +76,7 @@ impl<T: Clone> Matrix<T> {
|
|||||||
self.data
|
self.data
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Creates a new Vec<T> containing the matrix data (cloned).
|
/// Creates a new `Vec<T>` containing the matrix data (cloned).
|
||||||
pub fn to_vec(&self) -> Vec<T> {
|
pub fn to_vec(&self) -> Vec<T> {
|
||||||
self.data.clone()
|
self.data.clone()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user