Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
24
impl From<u8> for OpArgByte {
Callers
nothing calls this directly
Calls
2
Self
Function · 0.85
as_u32
Method · 0.80
Tested by
no test coverage detected