Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ as_mut_ptr
Method
as_mut_ptr
crates/common/src/boxvec.rs:332–334 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
330
/// Return a raw mutable pointer to the vector's buffer.
331
#[inline]
332
pub fn as_mut_ptr(&mut self) -> *mut T {
333
self.xs.as_mut_ptr().cast()
334
}
335
}
336
337
impl<T> Deref for BoxVec<T> {
Callers
15
pystr_from_raw_cstr
Function · 0.80
strxfrm
Function · 0.80
rand_pseudo_bytes
Function · 0.80
read
Method · 0.80
get_channel_binding
Method · 0.80
cipher_description
Function · 0.80
sendmsg_afalg
Method · 0.80
recvmsg
Method · 0.80
pack_cmsgs_to_send
Method · 0.80
getsockopt
Method · 0.80
share
Method · 0.80
get_addr_tuple
Function · 0.80
Calls
1
cast
Method · 0.45
Tested by
no test coverage detected