pub enum Owed {
Column,
Nothing,
Theirs,
}Expand description
WHETHER A FOLD OWES ITS ENTRY A COLUMN — the axis the from seat is checked against.
§It exists because the framework’s knowledge of a fold is the SHIPPED half and stops there
A word this crate ships is a fold this crate wrote, so what it reads is a fact rather than a
guess: counting answers how many rows there are and looks at none of them, summing adds up
one column’s values. Those two facts are what let the grammar refuse a counting that names a
column and a summing that names none — one mistake apiece, caught at the declaration rather
than at a fold handed the wrong slice.
A QUOTED path is a type this crate never saw. Refusing it either way would be the framework deciding on the declaring crate’s behalf, so the third answer says so and neither refusal fires.
Variants§
Column
ONE UPSTREAM COLUMN, which the entry must name — summing.
Nothing
NOTHING: the fold is handed the group’s ROWS and reads no column of them — counting.
Theirs
THEIRS to say: a fold the declaring crate wrote, which this crate cannot answer for, so both spellings are accepted and the emission hands over whatever the entry named.