Struct arrow::list::List
[−]
[src]
pub struct List<T> { /* fields omitted */ }
List
Methods
impl<T> List<T>
[src]
pub fn from_raw_parts(data: Buffer<T>, offsets: Buffer<i32>) -> Self
[src]
Create a List from raw parts
pub fn len(&self) -> i32
[src]
Get the length of the List (number of array slots)
pub fn data(&self) -> &Buffer<T>
[src]
Get a reference to the raw data in the list
pub fn offsets(&self) -> &Buffer<i32>
[src]
Get a reference to the offsets in the list
pub fn slice(&self, index: usize) -> &[T]
[src]
Get the contents of a single array slot
Trait Implementations
impl From<Vec<String>> for List<u8>
[src]
Create a List
impl From<Vec<&'static str>> for List<u8>
[src]
Create a List