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

Method slices_mut

arrow-array/src/builder/primitive_builder.rs:370–375  ·  view source on GitHub ↗

Returns the current values buffer and null buffer as a slice

(&mut self)

Source from the content-addressed store, hash-verified

368
369 /// Returns the current values buffer and null buffer as a slice
370 pub fn slices_mut(&mut self) -> (&mut [T::Native], Option<&mut [u8]>) {
371 (
372 self.values_builder.as_mut_slice(),
373 self.null_buffer_builder.as_slice_mut(),
374 )
375 }
376}
377
378impl<P: DecimalType> PrimitiveBuilder<P> {

Callers 1

try_unary_mutMethod · 0.80

Calls 1

as_slice_mutMethod · 0.45

Tested by

no test coverage detected