MCPcopy Index your code
hub / github.com/RustPython/RustPython / as_u32

Method as_u32

crates/compiler-core/src/bytecode/oparg.rs:891–893  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

889
890 #[must_use]
891 pub const fn as_u32(&self) -> u32 {
892 self.as_u8() as u32
893 }
894}
895
896impl From<ResumeLocation> for u8 {

Callers 11

execute_instrumentedMethod · 0.80
jumpMethod · 0.80
for_iter_jump_targetMethod · 0.80
finalize_codeMethod · 0.80
peephole_optimizeMethod · 0.80
label_exception_targetsFunction · 0.80
newMethod · 0.80
locationMethod · 0.80
is_exception_depth1Method · 0.80
fromMethod · 0.80

Calls 1

as_u8Method · 0.80

Tested by

no test coverage detected