MCPcopy 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
93impl 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

readMethod · 0.45
recv_intoMethod · 0.45
recvfrom_intoMethod · 0.45
ioctlFunction · 0.45
readMethod · 0.45
with_refMethod · 0.45
readMethod · 0.45
_readintoMethod · 0.45
readintoMethod · 0.45

Calls 1

Tested by

no test coverage detected