[][src]Module agnes::access

Traits for accessing data within agnes data structures.

The DataIndex trait provides index-based access to a field's data as well as method which generates a DataIterator.

Structs

DataIterator

Iterator over the data in a data structure that implement DataIndex.

DrainIterator

Draining iterator over the data in a data structure that implements DataIndex.

Permutation

A structure containing information about the permutation status of a field. I represents the underlying permutation implementation type (such as Vec<usize> or &usize).

ValueMap

Mapping iterator applying function F to the data in a data structure that implement DataIndex. T is the data type held within this data structure, and I is the base iterator that is being mapped over.

Traits

DataIndex

Trait that provides access to values in a data field.

DataIndexMut

Trait that provides mutable access to values in a data field.

FilterPerm

Trait providing method to provide an index permutation of values that match a predicate.

SortOrder

Trait providing function to compute and return the sorted permutation order. This sort is stable (preserves original order of equal elements).

SortOrderComparator

Trait providing function to compute and return the sorted permutation order using a comparator. This sort is stable (preserves original order of equal elements).

SortOrderUnstable

Trait providing function to compute and return the sorted permutation order. This sort is unstable (does not preserve original order of equal elements, but may be faster than the stable version).

SortOrderUnstableComparator

Trait providing function to compute and return the sorted permutation order. This sort is unstable (does not preserve original order of equal elements, but may be faster than the stable version).

Functions

sort_f32

Helper sorting method for floating-point (f32) values

sort_f32_values

Helper sorting method for floating-point (Value<&f32>) values.

sort_f64

Helper sorting method for floating-point (f64) values

sort_f64_values

Helper sorting method for floating-point (Value<&f64>) values.