Module agnes::data_types [−][src]
Structures, traits, and macros for managing the list of data types that agnes
data structures
support.
This module contains the heterogenous data structures for containing data, along with macros for automatically creating the structures for a specific data type list.
Modules
csv |
Data type list for CSV files. |
standard |
A standard data type list for general basic use. |
Structs
Cons |
Buildling block of a heterogeneous type list. |
Nil |
The end of a heterogeneous type list. |
StorageCons |
Building block of a data storage list. |
StorageNil |
End of a data storage list; |
Traits
AddVec |
Trait for adding a data vector to the specified |
Append |
Trait for adding a new element to the end of a heterogeneous list. |
AssocTypes |
Trait used to provide associated types, used with a list of data types. |
CreateStorage |
Trait providing a method for creating a new empty storage structure |
DTypeList |
Marker type for commonly needed traits for DataType lists |
DTypeSelector |
A trait for finding the |
DataType |
Marker trait for types supported in this |
FieldLocator |
Trait that provides details on the location of a field within a heterogeneous data storage structure. |
FieldSerialize |
Field serialization trait. Behaves similar to the |
Func |
Trait for a function applied to a specified type |
FuncExt |
Trait for a function applied to a specified type |
FuncPartial |
Trait for a function operating over all types present in a list of data types. |
GetDType |
Trait that provides access to a DType. Implemented by data types
within |
Map |
Trait providing a method for applying a Func to data in data storage
structure. Implemented automatically by |
MapExt |
Trait providing a method for applying a FuncExt to data in data storage
structure. Implemented automatically by |
MapPartial |
Trait providing a method for applying a FuncPartial to data in data
storage structure. Implemented automatically by |
MaxLen |
Trait that provides a method for returning the maximum length of a field in a heterogeneous storage structure. |
Prepend |
Trait for adding a new element to the front of a heterogeneous list. |
Serializable |
Marker trait for a data storage structure that implements FieldSerialize |
TMap |
Trait providing a method for applying a Func to data in data storage
structure. Implemented automatically by |
TypeSelector |
A trait for selecting all fields of |
Functions
cons |
Helper function to construct a Cons list. |
Type Definitions
DTypeCons |
Building block of a type list. |
DTypeNil |
End of a data type list. |
TypeData |
Type alias for a data structure containing all of the FieldData structures for a single data type. |