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

Method from

arrow-buffer/src/buffer/boolean.rs:783–787  ·  view source on GitHub ↗
(value: &[bool])

Source from the content-addressed store, hash-verified

781
782impl From<&[bool]> for BooleanBuffer {
783 fn from(value: &[bool]) -> Self {
784 let mut builder = BooleanBufferBuilder::new(value.len());
785 builder.append_slice(value);
786 builder.finish()
787 }
788}
789
790impl From<Vec<bool>> for BooleanBuffer {

Callers

nothing calls this directly

Calls 4

lenMethod · 0.45
append_sliceMethod · 0.45
finishMethod · 0.45
as_sliceMethod · 0.45

Tested by

no test coverage detected