Crate over

Source
Expand description

OVER: the best data format.

Re-exports§

pub use crate::error::OverError;
pub use crate::obj::Obj;

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 an Arr containing a vector of the values. For a non-panicking version, see try_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, see try_obj!.
try_arr
Given a list of elements, converts each element to a Value and returns an Arr containing a vector of the values. Returns an OverResult instead of panicking on error. To create an empty Arr, use arr! as it will never fail.
try_obj
Given a list of field to Value pairs, returns an Obj with the fields and values. Returns an OverResult instead of panicking on error. To create an empty Obj, use obj! as it will never fail.
tup
Given a list of elements, converts each element to Values and returns a Tup containing a vector of the values.

Type Aliases§

OverResult
Result type for this crate.