Expand description
Utility functions and types.
Enums§
- Single
OrPair  - Helper type to represent either a single value or a pair of values.
 - Single
OrTriple  - Helper type to represent either a single value or a triple of values.
 - Single
OrVec  - Helper type to represent either a single value or a vector of values.
 
Traits§
- Into
Option  - A helper trait that is just like 
Into<Option<T>>but improves ergonomics by allowing implicit conversion from &[T; N] to &[T]. - Scalar
OrArray  - A trait for a scalar or an array.
 - Updatable
 - Helper trait for compiling a function that takes a Module and/or an Optimizer. The implementation must ensure consistent ordering of the returned states.