pub struct StepModel {
pub field: Ident,
pub ty: Type,
pub answer: Option<Type>,
pub awaited: bool,
pub fan: Option<Fan>,
pub annotation: Option<Type>,
}Expand description
ONE STEP of a tower — the field that holds the server, what it answers, and which face it wears.
PLAIN, for the reason every model in this crate has plain fields: the derive today and a manifest front end later reach the same emitter.
Fields§
§field: IdentThe field that holds this step’s server — the step’s ONE name, and the span every refusal about this step is reported at.
ty: TypeThe server’s type, as the field declared it.
answer: Option<Type>What this step ANSWERS — the answer = "…" word, and the next step’s question.
None where the word was OMITTED, which is not a gap: the answer is then the step’s own
canonical line, <Ty as DefaultServe>::Answer, and the emission spells that projection
wherever it would have spelled the written type. A tower’s chain is derived from these and
from the tower’s own question either way, so nothing here is a pair that could disagree.
awaited: boolWhether this step wore the async word — which is what names the face its hop demands.
fan: Option<Fan>THE FAN THIS STEP OPENS, or None where the step is an ordinary 1 → 1 hop.
A step’s POSITION in TowerModel::steps is the segment’s position, and there is no second
seat that could disagree with it about where a fan starts. What a segment ENDS at is the
tower’s own mouth: the amendment’s law is that every fan folds before it, so the fold is a
fact of the walk rather than a word an author writes, and nothing here names one.
annotation: Option<Type>⟂ WHAT THIS STEP ANNOTATES THE QUESTION WITH — the annotate(type = "…") word’s type, or
None where the step opens no annotation stage.
A SEPARATE SEAT FROM fan, and that separation is the model refusing to lie
about itself: Fan is one fan segment, and an annotation neither widens nor crosses. What
the two seats share is Stage — the pipeline’s ORDER is the one thing all three words are
about — so stage reads whichever seat is filled and the order check reads
only that.
A step fills AT MOST ONE of the two. Both written is refused at the front end, where the declaration that wrote them can be pointed at.