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

Method new

crates/compiler-core/src/bytecode/oparg.rs:19–21  ·  view source on GitHub ↗
(value: u8)

Source from the content-addressed store, hash-verified

17
18 #[must_use]
19 pub const fn new(value: u8) -> Self {
20 Self(value)
21 }
22}
23
24impl From<u8> for OpArgByte {

Callers

nothing calls this directly

Calls 2

SelfFunction · 0.85
as_u32Method · 0.80

Tested by

no test coverage detected