MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / fmt

Method fmt

src/debug_utils/validate_func.rs:57–64  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

55
56impl fmt::Display for Entity {
57 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
58 match *self {
59 Entity::Block(x) => x.fmt(f),
60 Entity::Value(x) => x.fmt(f),
61 Entity::ValueGroup(x) => x.fmt(f),
62 Entity::Inst(x) => x.fmt(f),
63 }
64 }
65}
66
67/// Point at which a `Value` is defined.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected