table::value
One cell, the element type of rows and the scalar of expressions.
Enums
ValueSource
pub enum ValueA single cell. A categorical cell reads as Str.
nabi
let v = table::Value::from(2.5);
assert(v.as_f64() == 2.5);
assert(f"{table::Value::Null}" == "null");
trueforNull.The type of a non-null value;
noneforNull.The integer,
nonefor another kind.A number as
f64(anIntconverts).The bool,
nonefor another kind.The text,
nonefor another kind.The date,
nonefor another kind.The timestamp,
nonefor another kind.Total order for sorting: numbers by value (
IntandFloatcompare as numbers, NaN last), then the other kinds;Nullfirst. Mixed kinds order by kind.