MCPcopy 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
337impl<T> Deref for BoxVec<T> {

Callers 15

pystr_from_raw_cstrFunction · 0.80
strxfrmFunction · 0.80
rand_pseudo_bytesFunction · 0.80
readMethod · 0.80
get_channel_bindingMethod · 0.80
cipher_descriptionFunction · 0.80
sendmsg_afalgMethod · 0.80
recvmsgMethod · 0.80
pack_cmsgs_to_sendMethod · 0.80
getsockoptMethod · 0.80
shareMethod · 0.80
get_addr_tupleFunction · 0.80

Calls 1

castMethod · 0.45

Tested by

no test coverage detected