MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / fmt

Method fmt

pci/src/device.rs:14–17  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter)

Source from the content-addressed store, hash-verified

12
13impl fmt::Display for PciLocation {
14 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
15 write!(f, "{:04X}:{:02X}:{:02X}",
16 self.bus, self.slot, self.function)
17 }
18}
19
20impl PciLocation {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected