Trait agnes::access::DataIndex[][src]

pub trait DataIndex<DTypes>: Debug where
    DTypes: DTypeList
{ type DType: DataType<DTypes>; fn get_datum(&self, idx: usize) -> Result<Value<&Self::DType>>;
fn len(&self) -> usize; fn is_empty(&self) -> bool { ... }
fn iter(&self) -> DataIterator<DTypes, Self::DType>
    where
        Self: Sized
, { ... } }

Trait that provides access to values in a data field.

Associated Types

The data type contained within this field.

Required Methods

Returns the data (possibly NA) at the specified index, if it exists.

Returns the length of this data field.

Provided Methods

Returns whether or not this field is empty.

Important traits for DataIterator<'a, DTypes, T>

Returns an iterator over the values in this field.

Implementors