Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ to_container
Method
to_container
crates/vm/src/bytes_inner.rs:1051–1053 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
1049
type Container = Vec<u8>;
1050
1051
fn to_container(&self) -> Self::Container {
1052
self.to_vec()
1053
}
1054
1055
fn as_bytes(&self) -> &[u8] {
1056
self
Callers
2
py_join
Method · 0.45
py_partition
Method · 0.45
Calls
1
to_vec
Method · 0.80
Tested by
no test coverage detected