pub enum EvalValue {
Scalar(CellValue),
Range(Vec<Vec<CellValue>>),
}Expand description
A range-capable value: either a single CellValue scalar, or a
rectangular range of cells (Vec<Vec<CellValue>>, row-major).
Derive note: PartialEq but NOT Eq — CellValue::Number carries an
f64, exactly as the underlying CellValue.
Variants§
Scalar(CellValue)
A single scalar cell value (the only thing that ever lowers to the evaluator).
Range(Vec<Vec<CellValue>>)
A rectangular range of cells, row-major (rows[r][c]). Used by
SUM/SUMIF/VLOOKUP/INDEX/MATCH; NEVER enters the evaluator (finding #4).
Implementations§
Trait Implementations§
Source§impl JsonSchema for EvalValue
impl JsonSchema for EvalValue
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for EvalValue
Auto Trait Implementations§
impl Freeze for EvalValue
impl RefUnwindSafe for EvalValue
impl Send for EvalValue
impl Sync for EvalValue
impl Unpin for EvalValue
impl UnsafeUnpin for EvalValue
impl UnwindSafe for EvalValue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more