Crate h_mat

Source

Structs§

AccessRowDirective
Internal type used for the recursive implementations of the AccessRowRef and AccessRowMut traits.
ApplyWriterDirective
Internal type used for the recursive implementations of the ApplyWriter trait.
GetSubWriterDirective
Internal type used for the recursive implementations of the GetSubWriter trait.
HCol
A single column of a HMat.
HColIter
An iterator that iterates over the columns of H.
HMat
A heterogenous matrix, in which every row is a vector of a different type.
HMatRef
A reference to a HMat with arbitrarily ordered rows.
HMatWriter
A writer that can store a list of modifications, i.e., RowMods that can be applied to a HMat in the future. Can be useful when it is not possible to maintain a mutable reference to the original matrix. Note that the modifications are NOT applied in the same order they are appended to the writer. The order is always: SetCol, UpdateCol, and then UnsetCol.
MergeDirective
Internal type used for the recursive implementations of the Merge trait.
Row
A homogenous row, implemented as a wrapper around Vec<Option<T>>.
SlicerDirective
Internal type used for the recursive implementations of the Slicer trait.

Enums§

RowMod
Represents a modification on a Row<T>.

Traits§

AccessColMut
Represents a type whose columns can be accessed as a mutable reference.
AccessColRef
Represents a type whose columns can be accessed as a reference.
AccessRowMut
Represents a type whose rows can be accessed as a mutable reference.
AccessRowRef
Represents a type whose rows can be accessed as a reference.
ApplyWriter
Represents a type that can receive a writer W to modify itself.
Extend
Represents a type that can be extended with new types.
GetSubWriter
Represents a writer type that can return one of its subwriters, e.g., HMatWriter<T1, HMatWriter<T2, R>> has a subwriter HMatWriter<T2, R>.
Merge
Represents a recursive type that can be merged with another recursive type.
NewWriter
Represents a type that can return a writer corresponding to its fields.
PlaceCol
Represents a type that can store a column.
Slicer
Represents a type that can construct itself by rearranging the fields of the original type H.
TakeCol
Represents a type whose columns can be moved out.