MCPcopy Create free account
hub / github.com/apache/arrow-rs / deref_mut

Method deref_mut

arrow-buffer/src/buffer/mutable.rs:1084–1086  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1082
1083impl std::ops::DerefMut for MutableBuffer {
1084 fn deref_mut(&mut self) -> &mut [u8] {
1085 unsafe { std::slice::from_raw_parts_mut(self.as_mut_ptr(), self.len) }
1086 }
1087}
1088
1089impl AsRef<[u8]> for &MutableBuffer {

Callers

nothing calls this directly

Calls 1

as_mut_ptrMethod · 0.80

Tested by

no test coverage detected