Trait re_data_store::ArrayExt

source ·
pub trait ArrayExt: Array {
    // Required method
    fn get_child_length(&self, child_nr: usize) -> usize;
}

Required Methods§

source

fn get_child_length(&self, child_nr: usize) -> usize

Returns the length of the child array at the given index.

  • Panics if self is not a ListArray<i32>.
  • Panics if child_nr is out of bounds.

Implementations on Foreign Types§

source§

impl ArrayExt for dyn Array

source§

fn get_child_length(&self, child_nr: usize) -> usize

Return the length of the first child.

§Panics

Panics if Self is not a ListArray<i32>, or if the array is empty (no children).

Implementors§