MCPcopy Index your code
hub / github.com/encounter/objdiff / opcode

Method opcode

objdiff-core/src/diff/display.rs:114–117  ·  view source on GitHub ↗
(s: T, o: u16)

Source from the content-addressed store, hash-verified

112
113 #[inline(always)]
114 pub fn opcode<T>(s: T, o: u16) -> Self
115 where T: Into<Cow<'a, str>> {
116 InstructionPart::Opcode(s.into(), o)
117 }
118
119 #[inline(always)]
120 pub fn opaque<T>(s: T) -> Self

Callers 3

display_instructionMethod · 0.80
infer_function_sizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected