Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ borrow_buf
Method
borrow_buf
crates/vm/src/function/buffer.rs:42–44 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
40
41
impl ArgBytesLike {
42
pub fn borrow_buf(&self) -> BorrowedValue<'_, [u8]> {
43
unsafe { self.0.contiguous_unchecked() }
44
}
45
46
pub fn with_ref<F, R>(&self, f: F) -> R
47
where
Callers
15
set_ecdh_curve
Method · 0.45
extract_password_bytes
Method · 0.45
write
Method · 0.45
send
Method · 0.45
sendall
Method · 0.45
sendto
Method · 0.45
sendmsg
Method · 0.45
sendmsg_afalg
Method · 0.45
pack_cmsgs_to_send
Method · 0.45
inet_ntoa
Function · 0.45
getaddrinfo
Function · 0.45
inet_ntop
Function · 0.45
Calls
1
contiguous_unchecked
Method · 0.80
Tested by
1
write_input
Function · 0.36