1 2 3 4 5 6 7 8
use super::Matrix; impl PartialEq for Matrix { fn eq(&self, rhs: &Self) -> bool { self.v == rhs.v && self.rows == rhs.rows && self.cols == rhs.cols } } impl Eq for Matrix {}