(&self, other: &PixelFormat)
| 144 | |
| 145 | impl PartialEq<PixelFormat> for FourCC { |
| 146 | fn eq(&self, other: &PixelFormat) -> bool { |
| 147 | match other { |
| 148 | PixelFormat::Known(cc) => self == cc, |
| 149 | PixelFormat::Unknown(val) => self.0 == *val, |
| 150 | } |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | // 反向比较也加上 |
nothing calls this directly
no outgoing calls
no test coverage detected