MCPcopy Create free account
hub / github.com/RustCV/RustCV / eq

Method eq

rustcv-core/src/pixel_format.rs:146–151  ·  view source on GitHub ↗
(&self, other: &PixelFormat)

Source from the content-addressed store, hash-verified

144
145impl 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// 反向比较也加上

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected