MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / parts_mut

Method parts_mut

src/buffer.rs:124–126  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

122
123 #[inline]
124 fn parts_mut(&mut self) -> (*mut T, usize) {
125 (self.as_mut_ptr(), self.len())
126 }
127
128 #[inline]
129 unsafe fn assume_init(self, len: usize) -> Self::Output {

Callers 15

readFunction · 0.80
preadFunction · 0.80
recvFunction · 0.80
recvfromFunction · 0.80
getrandomFunction · 0.80
getxattrFunction · 0.80
lgetxattrFunction · 0.80
fgetxattrFunction · 0.80
listxattrFunction · 0.80
llistxattrFunction · 0.80
flistxattrFunction · 0.80
readlinkat_rawFunction · 0.80

Calls 2

as_mut_ptrMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected