pub struct FilterColumn {
pub member: Ident,
pub name: String,
pub filter: TokenStream,
pub gate: TokenStream,
}Expand description
One column, as the FILTER unit reads it.
Fields§
§member: IdentThe Rust member — layer 1, the field’s own name.
name: StringThe NOUN a doc sentence calls this column, ALREADY SPELLED — the backticked name and whatever
else the subject’s own vocabulary puts on it, as in title column.
Spelled by the caller for UnitHeader::subject’s reason one layer down: an interface’s
columns are the SHARED ones and a record’s are its own, and which adjective is true is a fact
about the front end rather than about this walk. The head noun rides along with it, so a
subject whose column is a COLLECTION says that instead.
filter: TokenStreamThe filter this column is guarded by, already projected through the marker layer.
gate: TokenStreamThe CONDITION the column is declared under, as the attribute to prefix onto every artifact it mints here — empty for a column that wrote none, and for every unit whose front end has no condition seat.
Carried on the ROW rather than looked up, because a unit is shared: the record family knows a
field’s #[cfg] and the interface and standalone families have no such word, so the fact
arrives with the column exactly as its filter and its noun do. See
Condition.