Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ format_spec
Method
format_spec
crates/stdlib/src/pystruct.rs:48–50 ·
view source on GitHub ↗
(&self, vm: &VirtualMachine)
Source
from the content-addressed store, hash-verified
46
47
impl IntoStructFormatBytes {
48
fn format_spec(&self, vm: &VirtualMachine) -> PyResult<FormatSpec> {
49
FormatSpec::parse(self.0.as_bytes(), vm)
50
}
51
}
52
53
fn get_buffer_offset(
Callers
7
pack
Function · 0.45
pack_into
Function · 0.45
unpack
Function · 0.45
unpack_from
Function · 0.45
iter_unpack
Function · 0.45
calcsize
Function · 0.45
py_new
Method · 0.45
Calls
2
parse
Function · 0.50
as_bytes
Method · 0.45
Tested by
no test coverage detected