Expand description
OVER: the best data format.
Re-exports§
Modules§
- arr
Arr
module. An array container which can hold an arbitrary number of elements of a single type.- error
- Error module.
- macros
- Module containing crate macros.
- obj
Obj
module. A hashmap of keys to values, where values can be any type, including other objects.- tup
Tup
module. A tuple container which can hold elements of different types.- types
- Module for types.
- value
- Module for values.
Macros§
- arr
- Given a list of elements, converts each element to a
Value
and returns anArr
containing a vector of the values. For a non-panicking version, seetry_arr!
. - frac
- Given two ints, creates and returns a
BigRational
. - int
- Given an int, creates and returns a
BigInt
. - obj
- Given a list of field/value pairs, returns an
Obj
containing each pair. For a non-panicking version, seetry_obj!
. - try_arr
- Given a list of elements, converts each element to a
Value
and returns anArr
containing a vector of the values. Returns anOverResult
instead of panicking on error. To create an emptyArr
, usearr!
as it will never fail. - try_obj
- Given a list of field to
Value
pairs, returns anObj
with the fields and values. Returns anOverResult
instead of panicking on error. To create an emptyObj
, useobj!
as it will never fail. - tup
- Given a list of elements, converts each element to
Value
s and returns aTup
containing a vector of the values.
Type Aliases§
- Over
Result - Result type for this crate.