Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ borrow_buf_mut
Method
borrow_buf_mut
crates/vm/src/function/buffer.rs:94–96 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
92
93
impl ArgMemoryBuffer {
94
pub fn borrow_buf_mut(&self) -> BorrowedValueMut<'_, [u8]> {
95
unsafe { self.0.contiguous_mut_unchecked() }
96
}
97
98
pub fn with_ref<F, R>(&self, f: F) -> R
99
where
Callers
9
read
Method · 0.45
recv_into
Method · 0.45
recvfrom_into
Method · 0.45
ioctl
Function · 0.45
read
Method · 0.45
with_ref
Method · 0.45
read
Method · 0.45
_readinto
Method · 0.45
readinto
Method · 0.45
Calls
1
contiguous_mut_unchecked
Method · 0.80
Tested by
no test coverage detected