Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow-rs
/ as_ref
Method
as_ref
arrow-buffer/src/buffer/scalar.rs:173–175 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
171
impl<T: ArrowNativeType> AsRef<[T]> for ScalarBuffer<T> {
172
#[inline]
173
fn as_ref(&self) -> &[T] {
174
self
175
}
176
}
177
178
impl<T: ArrowNativeType> From<MutableBuffer> for ScalarBuffer<T> {
Callers
14
criterion_benchmark
Function · 0.45
test_from_bytes
Function · 0.45
fmt
Method · 0.45
into_iter
Method · 0.45
eq
Method · 0.45
from_bitwise_unary_op
Method · 0.45
from_bitwise_binary_op
Method · 0.45
deref
Method · 0.45
finish_cloned
Method · 0.45
as_slice
Method · 0.45
allocated_size
Method · 0.45
len
Method · 0.45
Calls
no outgoing calls
Tested by
1
test_from_bytes
Function · 0.36