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

Method from

arrow-buffer/src/buffer/scalar.rs:179–181  ·  view source on GitHub ↗
(value: MutableBuffer)

Source from the content-addressed store, hash-verified

177
178impl<T: ArrowNativeType> From<MutableBuffer> for ScalarBuffer<T> {
179 fn from(value: MutableBuffer) -> Self {
180 Buffer::from(value).into()
181 }
182}
183
184impl<T: ArrowNativeType> From<Buffer> for ScalarBuffer<T> {

Callers

nothing calls this directly

Calls 7

defaultFunction · 0.85
into_vecMethod · 0.80
as_ptrMethod · 0.45
deallocationMethod · 0.45
into_innerMethod · 0.45
lenMethod · 0.45
finishMethod · 0.45

Tested by

no test coverage detected