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

Method fmt

rustcv-core/src/pixel_format.rs:22–26  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

20
21impl Display for FourCC {
22 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
23 let bytes = self.0.to_le_bytes();
24
25 write!(f, "{}", String::from_utf8_lossy(&bytes))
26 }
27}
28
29impl fmt::Debug for FourCC {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected