Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ pack
Method
pack
crates/stdlib/src/pystruct.rs:266–268 ·
view source on GitHub ↗
(&self, args: PosArgs, vm: &VirtualMachine)
Source
from the content-addressed store, hash-verified
264
265
#[pymethod]
266
fn pack(&self, args: PosArgs, vm: &VirtualMachine) -> PyResult<Vec<u8>> {
267
self.spec.pack(args.into_vec(), vm)
268
}
269
270
#[pymethod]
271
fn pack_into(
Callers
1
pack
Function · 0.45
Calls
1
into_vec
Method · 0.45
Tested by
no test coverage detected