Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ size
Method
size
crates/stdlib/src/pystruct.rs:261–263 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
259
#[pygetset]
260
#[inline]
261
const fn size(&self) -> usize {
262
self.spec.size
263
}
264
265
#[pymethod]
266
fn pack(&self, args: PosArgs, vm: &VirtualMachine) -> PyResult<Vec<u8>> {
Callers
2
pack_into
Method · 0.45
unpack_from
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected